JDK-8175224 : Release Note: Change SecurityManager checkTopLevelWindow, checkSystemClipboard, checkAccessAwtEventQueueAccess to check AllPermission
  • Type: Sub-task
  • Component: core-libs
  • Sub-Component: java.lang
  • Affected Version: 9
  • Priority: P4
  • Status: Closed
  • Resolution: Delivered
  • Submitted: 2017-02-19
  • Updated: 2017-09-22
  • Resolved: 2017-09-22
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9Resolved
Description
The deprecated `checkTopLevelWindow`, `checkSystemClipboard`, and `checkAccessAwtEventQueueAccess` in `java.lang.SecurityManager` have been changed to check `AllPermission`, they no longer check `AWTPermission`. Libraries that invoke these SecurityManager methods to do permission checks may require users of the library to change their policy files.