JDK-8210693 : The "com.sun.awt.SecurityWarning" class can be dropped
  • Type: CSR
  • Component: client-libs
  • Sub-Component: java.awt
  • Priority: P3
  • Status: Closed
  • Resolution: Approved
  • Fix Versions: 12
  • Submitted: 2018-09-13
  • Updated: 2018-09-21
  • Resolved: 2018-09-21
Related Reports
CSR :  
Relates :  
Description
Summary
-------

The client code has a "com.sun.awt.SecurityWarning" class which at some point in the past, JDK 6u10, was used as a kind of "public" API. During development of jdk9 it was considered that this API is not supported and may be removed in the future: https://bugs.openjdk.java.net/browse/JDK-8051640. 

Problem
-------

This class was deprecated forRemoval=true in JDK 11 (https://bugs.openjdk.java.net/browse/JDK-8205588).
This class is unused in the JDK and can be removed.

Solution
--------

The solution is to remove:

    src/java.desktop/share/classes/com/sun/awt/SecurityWarning.java
Comments
Moving to Approved contingent on a release note being added.
21-09-2018