Skip to content

Commit

Permalink
8344894: Obsolete reference to checking permissions in java.awt.Compo…
Browse files Browse the repository at this point in the history
…site

Reviewed-by: kizune, kcr, azvegint
  • Loading branch information
prrace committed Nov 26, 2024
1 parent 4d4cef8 commit 43603ac
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/java.desktop/share/classes/java/awt/Composite.java
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,6 @@
* {@code Graphics2D}, resulting from the modification of
* the {@code Composite} object after it has been set in the
* {@code Graphics2D} context.
* <p>
* 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}.
* @see AlphaComposite
* @see CompositeContext
* @see Graphics2D#setComposite
Expand Down

0 comments on commit 43603ac

Please sign in to comment.