-
CSR
-
Resolution: Approved
-
P4
-
None
-
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 :
- * 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}.
- csr of
-
JDK-8344894 Obsolete reference to checking permissions in java.awt.Composite
- Resolved