Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6225141

Toolkit.getAWTEventListeners: SecurityException throw shoud be clarified

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b45
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Backports

        Description

        The specs of getAWTEventListeners() and getAWTEventListeners(long eventMask) mention: "Throws: SecurityException - if a security manager exists and its checkPermission method doesn't allow the operation." However, it's not clear what "doesn't allow the operation" mentions in this case. Add/removeAWTEventListener refer to AWTPermission("listenToAllAWTEvents") permission but get... methods are silent about it. It should be clarified.
        ###@###.### 2005-2-03 17:34:28 GMT

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                dav Andrei Dmitriev (Inactive)
                Reporter:
                mchernyssunw Michael Chernyshov (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: