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

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

XMLWordPrintable

    • Icon: CSR CSR
    • Resolution: Approved
    • Icon: P3 P3
    • 11
    • client-libs
    • None
    • source, binary
    • low
    • Hide
      We do know that this was documented (at least via examples
      on sun web pages) and picked up by some code, but there
      are now public replacements for all of these, the last of which
      was added in 9.
      Show
      We do know that this was documented (at least via examples on sun web pages) and picked up by some code, but there are now public replacements for all of these, the last of which was added in 9.
    • Java API, Other
    • JDK

      Summary

      The client code has a "com.sun.awt.AWTUtilities" class which at some point in the past, JDK 6u10, was used as a kind of "public" API. Currently all its functionality is already provided by the public API, so this class can be removed in JDK 11.

      Problem

      This class was deprecated forRemoval=true in JDK 10 (JDK-8187253). This class is unused in the JDK and can be removed.

      Solution

      The solutions is to remove:

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

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

              Created:
              Updated:
              Resolved: