<AWT Dev> [11] Review Request: 8205588 Deprecate for removal com.sun.awt.SecurityWarning

Philip Race philip.race at oracle.com
Mon Jul 2 18:47:16 UTC 2018


+1

-phil.

On 6/24/18, 11:27 PM, Sergey Bylokhov wrote:
> Hello.
> Please review the fix for jdk11.
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8205588
> Webrev: http://cr.openjdk.java.net/~serb/8205588/webrev.00
> CSR: https://bugs.openjdk.java.net/browse/JDK-8205595
>
> The client code has an internal "com.sun.awt.SecurityWarning" class 
> which at some point in the past, JDK 6u10, was used as a kind of 
> "public" API. Starting jdk9 this class is accessible at runtime, but 
> is NOT accessible at compile time.
>
> This class is unused inside a jdk, but before drop it, I would like to 
> deprecate this class "for-removal=true". This is the similar step 
> which was done for the "com.sun.awt.AWTUtilities" 
> https://bugs.openjdk.java.net/browse/JDK-8187253
>
>


More information about the awt-dev mailing list