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

SecurityManager deprecation warning from java/awt/regtesthelpers/Util.java

XMLWordPrintable

    • 17
    • b27

      https://bugs.openjdk.java.net/browse/JDK-8266459

      suppressed the SecurityManager removal deprecation warning across the JDK as seen here
      https://github.com/openjdk/jdk/commit/6765f902505fbdd02f25b599f942437cd805cad1

      but it looks like I found a missing one that I noticed in a jtreg log

      test/jdk/java/awt/regtesthelpers/Util.java:452: warning: [removal] AccessController in java.security has been deprecated and marked for removal
      [2021-09-04T20:22:01,685Z] Method m_getWMID = (Method)AccessController.doPrivileged(new PrivilegedAction() {

            prr Philip Race
            prr Philip Race
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: