Obsolete reference to checking permissions in java.awt.Composite

XMLWordPrintable

    • Type: CSR
    • Resolution: Approved
    • Priority: P4
    • 24
    • Component/s: client-libs
    • None
    • 2d
    • behavioral
    • minimal
    • doc update.
    • Java API
    • SE

      Summary

      Remove obsolete text in java.awt.Composite describing the need for permissions.

      Problem

      JEP 486 - Permanently Disable the SecurityManager - obsoleted all permission checks, but the class doc for java.awt.Composite still describes permission checks that might be needed.

      Solution

      Delete the obsolete class doc. Specification

      java/awt/Composite.java :

      remove this text :

      <pre> - * Since this interface must expose the contents of pixels on the - * target device or image to potentially arbitrary code, the use of - * custom objects which implement this interface when rendering directly - * to a screen device is governed by the {@code readDisplayPixels} - * {@link AWTPermission}. The permission check will occur when such - * a custom object is passed to the {@code setComposite} method - * of a {@code Graphics2D} retrieved from a {@link Component}. </pre>

            Assignee:
            Philip Race
            Reporter:
            Philip Race
            Alexander Zuev, Alexander Zvegintsev, Kevin Rushforth
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: