<AWT Dev>  Review Request: 8186617 The "com.sun.awt.AWTUtilities" class can be dropped in favour of public API
Sergey.Bylokhov at oracle.com
Fri Oct 27 01:30:36 UTC 2017
During CSR review it was suggested to deprecate this API first and
remove it later in some next release.
On 05/09/2017 15:08, Sergey Bylokhov wrote:
> Thank you.
> The CSR was created:
> On 9/3/17 21:50, Alexander Zvegintsev wrote:
>> Looks fine.
>> On 23/08/2017 03:09, Sergey Bylokhov wrote:
>>> Please review the fix for jdk10.
>>> Bug: https://bugs.openjdk.java.net/browse/JDK-8186617
>>> Webrev can be found at:
>>> 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.
>>> -> GraphicsDevice.isWindowTranslucencySupported()
>>> -> Window.setOpacity/getOpacity
>>> -> Window.setShape()/getShape()
>>> -> setBackground()/isOpaque()
>>> -> GraphicsConfiguration.isTranslucencyCapable()
>>> -> Component.setMixingCutoutShape()
>>> CSR will be created after technical review.
Best regards, Sergey.
More information about the awt-dev