Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8029886 Change SecurityManager checkTopLevelWindow, checkSystemClipboard, checkAccessAwtEventQueueAccess to check AllPermission
  3. JDK-8175224

Release Note: Change SecurityManager checkTopLevelWindow, checkSystemClipboard, checkAccessAwtEventQueueAccess to check AllPermission

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: P4
    • Resolution: Delivered
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: core-libs
    • Subcomponent:
    • Verification:
      Verified

      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.

        Attachments

          Activity

            People

            Assignee:
            alanb Alan Bateman
            Reporter:
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: