We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2da2da6 commit 5c92b3aCopy full SHA for 5c92b3a
1 file changed
src/test/java/org/cryptomator/integrations/common/InitExceptionTestClass.java
@@ -0,0 +1,25 @@
1
+package org.cryptomator.integrations.common;
2
+
3
+@CheckAvailability
4
+public class InitExceptionTestClass {
5
6
+ private static final String TEST;
7
8
+ static {
9
+ TEST = throwSomethig();
10
+ }
11
12
+ public InitExceptionTestClass() {
13
14
15
16
+ static String throwSomethig() {
17
+ throw new RuntimeException("STATIC FAIL");
18
19
20
+ @CheckAvailability
21
+ public static boolean test() {
22
+ return true;
23
24
25
+}
0 commit comments