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

Toolkit.getAWTEventListeners: SecurityException throw shoud be clarified

XMLWordPrintable

    • b45
    • generic
    • generic
    • Verified

        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

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: