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

Warnings from Security manager in ProcessTools.java

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 18
    • Fix Version/s: tbd
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      svc

      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

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            coleenp Coleen Phillimore
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: