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

Clean up remaining AccessController warnings in test library

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 18
    • Fix Version/s: 19
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      svc
    • Resolved In Build:
      b09

      Description

      serviceability/sa/CDSJMapClstats.java gives warnings about the deprecated security manager. Can these test packages be rewritten to not use the security manager?

      test/lib/jdk/test/lib/process/ProcessTools.java:450: warning: [removal] AccessController in java.security has been deprecated and marked for removal
                      AccessController.doPrivileged((PrivilegedExceptionAction<Void>) () -> {
      ...
      Also:
      test/lib/jdk/test/lib/SA/SATestUtils.java
      test/lib/jdk/test/lib/NetworkConfiguration.java

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              kevinw Kevin Walls
              Reporter:
              coleenp Coleen Phillimore
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: