Bug#875590: FTBFS with Java 9: test fails

Chris West debian at fau.xxx
Tue Sep 12 13:05:22 UTC 2017


Source: junit4
Version: 4.12
Severity: normal
User: debian-java at lists.debian.org
Usertags: default-java9

This package fails to build with default-jdk pointing to openjdk-9-jdk.
Please fix it, so that we can start the transition to Java 9.
The wiki has some common problems and their solutions:
https://wiki.debian.org/Java/Java9Pitfalls

Build log:

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.junit.tests.AllTests
Tests run: 876, Failures: 1, Errors: 0, Skipped: 7, Time elapsed: 21.901 sec <<< FAILURE! - in org.junit.tests.AllTests
providesAnnotatedMethodsSortedByName(org.junit.runners.model.TestClassTest)  Time elapsed: 0.019 sec  <<< FAILURE!
java.lang.AssertionError: 
Wrong number of annotated methods.
Expected: is <3>
     but: was <9>
	at org.junit.runners.model.TestClassTest.providesAnnotatedMethodsSortedByName(TestClassTest.java:142)


Results :

Failed tests: 
  TestClassTest.providesAnnotatedMethodsSortedByName:142 Wrong number of annotated methods.
Expected: is <3>
     but: was <9>

Tests run: 876, Failures: 1, Errors: 0, Skipped: 7




Cheers,
Chris.



More information about the pkg-java-maintainers mailing list