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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 17
    • Component/s: security-libs
    • Labels:
      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

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

                Dates

                Created:
                Updated:
                Resolved: