JDK-8186617 : The "com.sun.awt.AWTUtilities" class can be dropped in favour of public API
  • Type: Bug
  • Component: client-libs
  • Affected Version: 9,10
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2017-08-22
  • Updated: 2018-03-23
  • Resolved: 2017-10-28
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 10
10 b31Fixed
Related Reports
CSR :  
Relates :  
Description
The client code has a "com.sun.awt.AWTUtilities" class which at some point(jdk6u10) in the past was used as a kind of "public" API.

In jdk9 this class is inaccessible and all its functionality was already provided by the public API, so this class can be removed.

AWTUtilities.isTranslucencySupported()/AWTUtilities.isWindowShapingSupported()
    -> GraphicsDevice.isWindowTranslucencySupported()

AWTUtilities.setWindowOpacity()/AWTUtilities.getWindowOpacity()
    -> Window.setOpacity/getOpacity

AWTUtilities.getWindowShape()/AWTUtilities.setWindowShape()
    -> Window.setShape()/getShape()

AWTUtilities.setWindowOpaque/AWTUtilities.isWindowOpaque
    -> setBackground()/isOpaque()

AWTUtilities.isTranslucencyCapable
    -> GraphicsConfiguration.isTranslucencyCapable()

AWTUtilities.setComponentMixingCutoutShape
    -> Component.setMixingCutoutShape()

CSR will be created after technical review.
Comments
Review: http://mail.openjdk.java.net/pipermail/awt-dev/2017-August/012977.html
22-08-2017