Bug#898146: junit4: FTBFS with Java 10 due to removed SecurityManager methods
Emmanuel Bourg
ebourg at apache.org
Mon May 7 23:15:27 BST 2018
Package: junit4
Version: 4.12-6
Severity: serious
User: debian-java at lists.debian.org
Usertags: default-java10
junit4 fails to build with Java 10 due to the removal of several methods
from the java.lang.SecurityManager class:
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /build/junit4-4.12/src/test/java/org/junit/tests/running/core/MainRunner.java:[42,8] error: method does not override or implement a method from a supertype
[ERROR] /build/junit4-4.12/src/test/java/org/junit/tests/running/core/MainRunner.java:[44,79] error: cannot find symbol
symbol: method getInCheck()
location: variable originalSecurityManager of type SecurityManager
[INFO] 2 errors
[INFO] ----------------
More information about the pkg-java-maintainers
mailing list