Source: tiles-autotag
Version: 1.2-3
Severity: important
Tags: ftbfs sid bookworm
User: [email protected]
Usertags: default-java17
tiles-autotag fails to build with OpenJDK 17, the tests make an illegal
reflective access into java.base/java.lang:
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.apache.tiles.autotag.core.runtime.AbstractModelBodyTest
[ERROR] Tests run: 5, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 0.07
s <<< FAILURE! - in org.apache.tiles.autotag.core.runtime.AbstractModelBodyTest
[ERROR]
testEvaluateWithoutWriting(org.apache.tiles.autotag.core.runtime.AbstractModelBodyTest)
Time elapsed: 0.042 s <<< ERROR!
java.lang.ExceptionInInitializerError
at
org.apache.tiles.autotag.core.runtime.AbstractModelBodyTest.testEvaluateWithoutWriting(AbstractModelBodyTest.java:95)
Caused by: net.sf.cglib.core.CodeGenerationException:
java.lang.reflect.InaccessibleObjectException-->Unable to make protected final
java.lang.Class
java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
throws java.lang.ClassFormatError accessible: module java.base does not "opens
java.lang" to unnamed module @4cfaf581
at
org.apache.tiles.autotag.core.runtime.AbstractModelBodyTest.testEvaluateWithoutWriting(AbstractModelBodyTest.java:95)
Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make
protected final java.lang.Class
java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
throws java.lang.ClassFormatError accessible: module java.base does not "opens
java.lang" to unnamed module @4cfaf581
at
org.apache.tiles.autotag.core.runtime.AbstractModelBodyTest.testEvaluateWithoutWriting(AbstractModelBodyTest.java:95)
[ERROR]
testEvaluateWithoutWritingException(org.apache.tiles.autotag.core.runtime.AbstractModelBodyTest)
Time elapsed: 0 s <<< ERROR!
java.lang.Exception: Unexpected exception, expected<java.io.IOException> but
was<java.lang.NoClassDefFoundError>
at
org.apache.tiles.autotag.core.runtime.AbstractModelBodyTest.testEvaluateWithoutWritingException(AbstractModelBodyTest.java:111)
[ERROR]
testEvaluateAsStringException(org.apache.tiles.autotag.core.runtime.AbstractModelBodyTest)
Time elapsed: 0.001 s <<< ERROR!
java.lang.Exception: Unexpected exception, expected<java.io.IOException> but
was<java.lang.NoClassDefFoundError>
at
org.apache.tiles.autotag.core.runtime.AbstractModelBodyTest.testEvaluateAsStringException(AbstractModelBodyTest.java:75)
[ERROR]
testEvaluate(org.apache.tiles.autotag.core.runtime.AbstractModelBodyTest) Time
elapsed: 0.001 s <<< ERROR!
java.lang.NoClassDefFoundError: Could not initialize class
org.easymock.internal.ClassProxyFactory$2
at
org.apache.tiles.autotag.core.runtime.AbstractModelBodyTest.testEvaluate(AbstractModelBodyTest.java:46)
[INFO] Running org.apache.tiles.autotag.core.runtime.util.NullWriterTest
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s -
in org.apache.tiles.autotag.core.runtime.util.NullWriterTest
[INFO]
[INFO] Results:
[INFO]
[ERROR] Errors:
[ERROR] AbstractModelBodyTest.testEvaluate:46 » NoClassDefFound Could not
initialize c...
[ERROR] AbstractModelBodyTest.testEvaluateAsStringException » Unexpected
exception, e...
[ERROR] AbstractModelBodyTest.testEvaluateWithoutWriting:95 »
ExceptionInInitializer
[ERROR] AbstractModelBodyTest.testEvaluateWithoutWritingException »
Unexpected except...
[INFO]
[ERROR] Tests run: 8, Failures: 0, Errors: 4, Skipped: 0
__
This is the maintainer address of Debian's Java team
<https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-java-maintainers>.
Please use
[email protected] for discussions and questions.