|
CSR :
|
|
|
Relates :
|
|
|
Relates :
|
Summary
-------
Deprecate for removal com.sun.awt.SecurityWarning.
Problem
-------
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 or when the option "--illegal-access=deny" is specified.
Solution
--------
The solutions is to deprecate this APi in jdk10 and remove later.
Specification
-------------
src/java.desktop/share/classes/com/sun/awt/SecurityWarning.java
* <b>WARNING</b>: This class is an implementation detail and only meant
* for limited use outside of the core platform. This API may change
* drastically between update release, and it may even be
* removed or be moved to some other packages or classes.
+ *
+ * @deprecated This class is deprecated, no replacement.
*/
+@Deprecated(since = "11", forRemoval = true)
public final class SecurityWarning {
http://cr.openjdk.java.net/~serb/8205588/webrev.00/src/java.desktop/share/classes/com/sun/awt/SecurityWarning.java.udiff.html
|