Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8267184

Add -Djava.security.manager=allow to tests calling System.setSecurityManager

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • None
    • 17
    • security-libs
    • None

    Description

      Any test calling System.setSecurityManager() would fail if the "java.security.manager" system property is "disallow". We should add "-Djava.security.manager=allow" to these tests.

      Attachments

        Issue Links

          Activity

            People

              weijun Weijun Wang
              weijun Weijun Wang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: