-
CSR
-
Resolution: Approved
-
P3
-
None
-
source, binary
-
low
-
-
Java API
-
SE
Summary
Remove the terminally deprecated java.lang.SecurityManager
methods that have been marked for removal since Java SE 9: checkTopLevelWindow
, checkSystemClipboardAccess
, checkAwtEventQueueAccess
, and checkMemberAccess
.
Problem
In Java SE 9, these methods were marked for removal as part of JDK-8145468. Also in Java SE 9, the first three methods were re-specified to check AllPermission
by JDK-8029886, and in Java SE 10 checkMemberAccess
was changed to check AllPermission by JDK-8186535. These methods no longer have any benefit, and removing them will follow through on the the plan to remove them.
Solution
Remove the following deprecated java.lang.SecurityManager methods that have been marked with forRemoval=true since JDK 9: checkTopLevelWindow
, checkSystemClipboardAccess
, checkAwtEventQueueAccess
, and checkMemberAccess
.
Specification
See the attached specdiff 8193032-specdiff.00.zip.
- csr of
-
JDK-8193032 Remove terminally deprecated SecurityManager APIs
-
- Resolved
-