Source: gs-collections
Severity: important
Tags: ftbfs sid bookworm
User: debian-j...@lists.debian.org
Usertags: default-java17

gs-collections fails to build with OpenJDK 17 due to a test failure:


  [INFO] -------------------------------------------------------
  [INFO]  T E S T S
  [INFO] -------------------------------------------------------
  [INFO] Running com.gs.collections.impl.test.AssertNotEqualsTest
  [INFO] Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.054 
s - in com.gs.collections.impl.test.AssertNotEqualsTest
  [INFO] Running com.gs.collections.impl.test.AssertNotEqualsThrowsTest
  [INFO] Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 
s - in com.gs.collections.impl.test.AssertNotEqualsThrowsTest
  [INFO] Running com.gs.collections.impl.test.CollectionsEqualTest
  [INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.043 
s - in com.gs.collections.impl.test.CollectionsEqualTest
  [INFO] Running com.gs.collections.impl.test.VerifyTest
  [ERROR] Tests run: 82, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 
0.055 s <<< FAILURE! - in com.gs.collections.impl.test.VerifyTest
  [ERROR] shallowClone1(com.gs.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 @2ee4f460
          at 
com.gs.collections.impl.test.VerifyTest.shallowClone1(VerifyTest.java:455)
  
  [ERROR] shallowClone2(com.gs.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 @2ee4f460
          at 
com.gs.collections.impl.test.VerifyTest.shallowClone2(VerifyTest.java:468)
  
  [INFO] Running com.gs.collections.impl.test.ExceptionThrownTest
  [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - 
in com.gs.collections.impl.test.ExceptionThrownTest
  [INFO] Running com.gs.collections.impl.test.SerializeTestHelperTest
  [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 
s - in com.gs.collections.impl.test.SerializeTestHelperTest

Reply via email to