I try to use Java 17 for everything nowadays but unfortunately this project fails to build with it:
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.lastnpe.eea.test.SelfTest
[FAIL] java/time/ZonedDateTime.eea: Unsupported class file major version 61
[FAIL] java/time/temporal/TemporalQuery.eea: Unsupported class file major version 61
[FAIL] java/time/LocalDate.eea: Unsupported class file major version 61
[FAIL] java/time/LocalTime.eea: Unsupported class file major version 61
[FAIL] java/lang/Thread.eea: Unsupported class file major version 61
[FAIL] java/lang/RuntimePermission.eea: Unsupported class file major version 61
[FAIL] java/lang/IllegalAccessError.eea: Unsupported class file major version 61
[FAIL] java/lang/Integer.eea: Unsupported class file major version 61
[FAIL] java/lang/NullPointerException.eea: Unsupported class file major version 61
[FAIL] java/lang/Runtime$Version.eea: Unsupported class file major version 61
[FAIL] java/lang/VirtualMachineError.eea: Unsupported class file major version 61
...
[FAIL] javax/swing/DefaultListCellRenderer.eea: Unsupported class file major version 61
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.139 sec <<< FAILURE! - in org.lastnpe.eea.test.SelfTest
org.lastnpe.eea.test.SelfTest.testEeaConsistency() Time elapsed: 0.138 sec <<< FAILURE!
org.opentest4j.AssertionFailedError: There were eea inconsistences detected
at org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:39)
at org.junit.jupiter.api.Assertions.fail(Assertions.java:117)
at org.lastnpe.eea.test.SelfTest.testEeaConsistency(SelfTest.java:30)
Results :
Failed tests:
org.lastnpe.eea.test.SelfTest#testEeaConsistency There were eea inconsistence...
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0
It works better after upgrading the ASM dependency, but probably due to some internal Java changes the method signatures changed and the SelfTest still fails:
[INFO] Running org.lastnpe.eea.test.SelfTest
[FAIL] java/security/acl/Permission.eea: Class not found
[FAIL] java/util/HashMap.eea: Did not find: getNode (ILjava/lang/Object;)Ljava/util/HashMap$Node<TK;TV;>;
Candidates:
getNode
(Ljava/lang/Object;)Ljava/util/HashMap$Node<TK;TV;>;
(Ljava/lang/Object;)Ljava/util/HashMap$Node<TK;TV;>;
[FAIL] java/lang/ClassNotFoundException.eea: Did not find: getCause ()Ljava/lang/Throwable;
No Candidates found
[FAIL] java/util/jar/JarFile.eea: Did not find: getMetaInfEntryNames ()[Ljava/lang/String;
No Candidates found
[FAIL] java/util/jar/JarInputStream.eea: Did not find: getBytes (Ljava/io/InputStream;)[B
No Candidates found
I try to use Java 17 for everything nowadays but unfortunately this project fails to build with it:
It works better after upgrading the ASM dependency, but probably due to some internal Java changes the method signatures changed and the SelfTest still fails: