Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8177680 Umbrella: JDK 11 terminal deprecations
  3. JDK-8193032

Remove terminally deprecated SecurityManager APIs

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: P3 P3
    • 11
    • None
    • security-libs
    • None

      In JDK 1.8, the following methods of java.lang.SecurityManager were deprecated:

      boolean SecurityManager.checkTopLevelWindow(java.lang.Object)
      void SecurityManager.checkSystemClipboardAccess()
      void SecurityManager.checkAwtEventQueueAccess()
      void SecurityManager.checkMemberAccess(java.lang.Class,int)

      In JDK 9, the methods were marked for removal as part of JDK-8145468.

      Also in JDK 9, the first three methods were changed to check AllPermission by JDK-8029886, and in JDK 10 checkMemberAccess was changed to check AllPermission by JDK-8186535.

      These methods should be removed from a subsequent JDK feature release, possibly JDK 11.

      (Other terminally deprecated SecurityManager APIs that had been deprecated since JDK 1.2 were removed from JDK 10. See JDK-8186535.)

            mullan Sean Mullan
            smarks Stuart Marks
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: