Bug#981978: jnr-enxio: FTBFS with OpenJDK 17: module java.base does not "opens java.io" to unnamed module
Emmanuel Bourg
ebourg at apache.org
Fri Feb 5 13:49:21 GMT 2021
Source: jnr-enxio
Severity: important
Tags: ftbfs sid bookworm
User: debian-java at lists.debian.org
Usertags: default-java17
jnr-enxio fails to build with OpenJDK 17, one test fails while attempting
to change the visibility of the java.io.FileDescriptor.fd field:
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running jnr.enxio.channels.NativeTest
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.035 s <<< FAILURE! - in jnr.enxio.channels.NativeTest
[ERROR] closeThrowsOnNativeError(jnr.enxio.channels.NativeTest) Time elapsed: 0.005 s <<< ERROR!
java.lang.reflect.InaccessibleObjectException: Unable to make field private int java.io.FileDescriptor.fd accessible: module java.base does not "opens java.io" to unnamed module @2ee4f460
at jnr.enxio.channels.NativeTest.closeThrowsOnNativeError(NativeTest.java:20)
[INFO]
[INFO] Results:
[INFO]
[ERROR] Errors:
[ERROR] NativeTest.closeThrowsOnNativeError:20 ยป InaccessibleObject Unable to make fie...
[INFO]
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
More information about the pkg-java-maintainers
mailing list