You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to compile this project with JDK10 and maven 3.5.0:
[ERROR] /Users/dfa/projects/system-rules/src/main/java/org/junit/contrib/java/lang/system/internal/NoExitSecurityManager.java:[39,9] method does not override or implement a method from a supertype
[ERROR] /Users/dfa/projects/system-rules/src/main/java/org/junit/contrib/java/lang/system/internal/NoExitSecurityManager.java:[42,51] cannot find symbol
[ERROR] symbol: method getInCheck()
[ERROR] location: variable originalSecurityManager of type java.lang.SecurityManager
That's "only" a compilation problem. It will not be fixed because System Rules can be used with JDK 10 but not be build by JDK 10. I extend the README respectively.
I tried to compile this project with JDK10 and maven 3.5.0:
Looks like this method has been removed between java9 and java10: https://bugs.openjdk.java.net/browse/JDK-8189750
The text was updated successfully, but these errors were encountered: