Skip to content

[java10] removal of SecurityManager.getInCheck() #65

Description

@dfa1

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

Looks like this method has been removed between java9 and java10: https://bugs.openjdk.java.net/browse/JDK-8189750

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions