Bug#982750: eclipse-collections: FTBFS with OpenJDK 17: module java.base does not "opens java.lang" to unnamed module

Emmanuel Bourg ebourg at apache.org
Sat Feb 13 21:45:58 GMT 2021


Source: eclipse-collections
Severity: important
Tags: ftbfs sid bookworm
User: debian-java at lists.debian.org
Usertags: default-java17

eclipse-collections fails to build with OpenJDK 17 due to a test error:


  [INFO] -------------------------------------------------------
  [INFO]  T E S T S
  [INFO] -------------------------------------------------------
  [INFO] Running org.eclipse.collections.impl.test.VerifyTest
  [ERROR] Tests run: 92, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.332 s <<< FAILURE! - in org.eclipse.collections.impl.test.VerifyTest
  [ERROR] shallowClone1(org.eclipse.collections.impl.test.VerifyTest)  Time elapsed: 0.003 s  <<< ERROR!
  java.lang.reflect.InaccessibleObjectException: Unable to make protected native java.lang.Object java.lang.Object.clone() throws java.lang.CloneNotSupportedException accessible: module java.base does not "opens java.lang" to unnamed module @7b68f21
          at org.eclipse.collections.impl.test.VerifyTest.shallowClone1(VerifyTest.java:417)
  
  [ERROR] shallowClone2(org.eclipse.collections.impl.test.VerifyTest)  Time elapsed: 0 s  <<< ERROR!
  java.lang.reflect.InaccessibleObjectException: Unable to make protected native java.lang.Object java.lang.Object.clone() throws java.lang.CloneNotSupportedException accessible: module java.base does not "opens java.lang" to unnamed module @7b68f21
          at org.eclipse.collections.impl.test.VerifyTest.shallowClone2(VerifyTest.java:430)



More information about the pkg-java-maintainers mailing list