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

The "com.sun.awt.SecurityWarning" class can be dropped

    XMLWordPrintable

    Details

    • Type: CSR
    • Status: Closed
    • Priority: P3
    • Resolution: Approved
    • Fix Version/s: 12
    • Component/s: client-libs
    • Labels:
      None
    • Subcomponent:
    • Compatibility Kind:
      source, binary
    • Compatibility Risk:
      low
    • Interface Kind:
      Java API
    • Scope:
      JDK

      Description

      Summary

      The client code has a "com.sun.awt.SecurityWarning" class which at some point in the past, JDK 6u10, was used as a kind of "public" API. During development of jdk9 it was considered that this API is not supported and may be removed in the future: https://bugs.openjdk.java.net/browse/JDK-8051640.

      Problem

      This class was deprecated forRemoval=true in JDK 11 (https://bugs.openjdk.java.net/browse/JDK-8205588). This class is unused in the JDK and can be removed.

      Solution

      The solution is to remove:

      src/java.desktop/share/classes/com/sun/awt/SecurityWarning.java

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              serb Sergey Bylokhov
              Reporter:
              serb Sergey Bylokhov
              Reviewed By:
              Mandy Chung, Philip Race
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: