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

Clean up remaining AccessController warnings in test library

    XMLWordPrintable

Details

    • svc
    • b09

    Backports

      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

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

                Dates

                  Created:
                  Updated:
                  Resolved: