Skip to content

Commit 16cc147

Browse files
committed
// BH 2022.01.17 fixes interface default method referencing own static
fields
1 parent b941bd3 commit 16cc147

File tree

12 files changed

+21
-8
lines changed

12 files changed

+21
-8
lines changed
-3.92 KB
Binary file not shown.
54 Bytes
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20211231190737
1+
20220117170217
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20211231190737
1+
20220117170217
-3.92 KB
Binary file not shown.
54 Bytes
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20211230184313
1+
20220117165332
-3.92 KB
Binary file not shown.

sources/net.sf.j2s.java.core/src/test/Test_Interface.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,9 @@ public static void main(String[] args) {
5454

5555
}
5656

57+
final static Integer myTest = -1;
58+
5759
public default int isTestInterface() {
58-
return 0;
60+
return myTest;
5961
}
6062
}

0 commit comments

Comments
 (0)