Source: objenesis Severity: serious Tags: sid buster User: debian-j...@lists.debian.org Usertags: default-java10 Forwarded: https://github.com/easymock/objenesis/issues/59
objenesis fails to build with Java 10 due to test errors: Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.053 sec <<< FAILURE! - in org.objenesis.instantiator.sun.MagicInstantiatorTest testInternalInstantiator(org.objenesis.instantiator.sun.MagicInstantiatorTest) Time elapsed: 0.014 sec <<< ERROR! java.lang.IllegalAccessError: class org.objenesis.instantiator.sun.MagicInstantiator$$$EmptyClass loaded by jdk/internal/loader/ClassLoaders$AppClassLoader cannot access jdk/internal/reflect superclass jdk.internal.reflect.MagicAccessorImpl at org.objenesis.instantiator.sun.MagicInstantiatorTest.testInternalInstantiator(MagicInstantiatorTest.java:51) testNewInstance(org.objenesis.instantiator.sun.MagicInstantiatorTest) Time elapsed: 0 sec <<< ERROR! java.lang.IllegalAccessError: class org.objenesis.instantiator.sun.MagicInstantiator$$$EmptyClass loaded by jdk/internal/loader/ClassLoaders$AppClassLoader cannot access jdk/internal/reflect superclass jdk.internal.reflect.MagicAccessorImpl at org.objenesis.instantiator.sun.MagicInstantiatorTest.testNewInstance(MagicInstantiatorTest.java:42) It looks like these tests aren't meant to run on any JDK higher than 8, but the JDK check is limited to Java 9.