<AWT Dev> [13] Review Request: 8216592 Drop of sun.awt.AWTSecurityManager class

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Tue Jan 15 19:49:22 UTC 2019


Hello.
Please review the fix for jdk 13.

Bug: https://bugs.openjdk.java.net/browse/JDK-8216592
Webrev: http://cr.openjdk.java.net/~serb/8216592/webrev.01

The AWTSecurityManager class is an abstract class which provided
the AppContext objects through SecurityManager extensions. The plugin
provided a concrete implementation of this class. Since plugin was
removed the AWTSecurityManager itself can be removed as well.

Since we currently never set AWTSecurityManager some of our checks like:
"sm instanceof sun.awt.AWTSecurityManager"
are always "false". And I dropped the code which uses such
checks(mostly in the SunFontManager)


-- 
Best regards, Sergey.


More information about the awt-dev mailing list