Details
-
Enhancement
-
Resolution: Fixed
-
P3
-
None
-
b108
Description
This methods have a dependency on AWTPermission and so are problematic for a modular JDK as it results in a reflective dependency on the desktop module.
As these methods are legacy (have not been required since JDK1.1) then we should consider deprecating them with a view to changing them in Java SE 9 so that they don't require AWTPermission. For Java SE 9 then they could check AllPermission or throw an exception.
Attachments
Issue Links
- relates to
-
JDK-8029886 Change SecurityManager checkTopLevelWindow, checkSystemClipboard, checkAccessAwtEventQueueAccess to check AllPermission
- Closed
-
JDK-8193032 Remove terminally deprecated SecurityManager APIs
- Resolved