Bug#912474: junit4 FTBFS with OpenJDK 11

Adrian Bunk bunk at debian.org
Wed Oct 31 21:34:18 GMT 2018


Source: junit4
Version: 4.12-7
Severity: serious
Tags: ftbfs

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/junit4.html

...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 14.974 s
[INFO] Finished at: 2018-10-31T09:30:32-12:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:testCompile (default-testCompile) on project junit: Compilation failure: Compilation failure: 
[ERROR] /build/1st/junit4-4.12/src/test/java/org/junit/tests/running/core/MainRunner.java:[194,8] error: method does not override or implement a method from a supertype
[ERROR] /build/1st/junit4-4.12/src/test/java/org/junit/tests/running/core/MainRunner.java:[196,60] error: cannot find symbol
[ERROR]   symbol: method checkTopLevelWindow(Object)
[ERROR] /build/1st/junit4-4.12/src/test/java/org/junit/tests/running/core/MainRunner.java:[196,114] error: cannot find symbol
[ERROR]   symbol:   method checkTopLevelWindow(Object)
[ERROR]   location: variable originalSecurityManager of type SecurityManager
[ERROR] /build/1st/junit4-4.12/src/test/java/org/junit/tests/running/core/MainRunner.java:[206,8] error: method does not override or implement a method from a supertype
[ERROR] /build/1st/junit4-4.12/src/test/java/org/junit/tests/running/core/MainRunner.java:[209,39] error: cannot find symbol
[ERROR]   symbol:   method checkSystemClipboardAccess()
[ERROR]   location: variable originalSecurityManager of type SecurityManager
[ERROR] /build/1st/junit4-4.12/src/test/java/org/junit/tests/running/core/MainRunner.java:[213,8] error: method does not override or implement a method from a supertype
[ERROR] /build/1st/junit4-4.12/src/test/java/org/junit/tests/running/core/MainRunner.java:[216,39] error: cannot find symbol
[ERROR]   symbol:   method checkAwtEventQueueAccess()
[ERROR]   location: variable originalSecurityManager of type SecurityManager
[ERROR] /build/1st/junit4-4.12/src/test/java/org/junit/tests/running/core/MainRunner.java:[241,8] error: method does not override or implement a method from a supertype
[ERROR] /build/1st/junit4-4.12/src/test/java/org/junit/tests/running/core/MainRunner.java:[244,39] error: cannot find symbol
[ERROR]   symbol:   method checkMemberAccess(Class<CAP#1>,int)
[ERROR]   location: variable originalSecurityManager of type SecurityManager
[ERROR]   where CAP#1 is a fresh type-variable:
[ERROR]     CAP#1 extends Object from capture of ?
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
dh_auto_build: /usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.jar -Dmaven.home=/usr/share/maven -Dmaven.multiModuleProjectDirectory=/build/1st/junit4-4.12 -Dclassworlds.conf=/etc/maven/m2-debian.conf org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/build/1st/junit4-4.12/debian -Dmaven.repo.local=/build/1st/junit4-4.12/debian/maven-repo --batch-mode package javadoc:jar javadoc:aggregate -DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1
make: *** [debian/rules:4: build] Error 2



More information about the pkg-java-maintainers mailing list