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

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Mon Jun 25 06:27:50 UTC 2018

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" 

Best regards, Sergey.

More information about the awt-dev mailing list