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

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

XMLWordPrintable

    • Icon: CSR CSR
    • Resolution: Approved
    • Icon: P3 P3
    • 12
    • client-libs
    • None
    • source, binary
    • low
    • Java API
    • JDK

      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

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

              Created:
              Updated:
              Resolved: