-
CSR
-
Resolution: Unresolved
-
P5
-
None
Summary
The following paragraph in the specification of BufferedImage.TYPE_INT_ARGB appears obsolete and unnecessary:
When this type is used as the {@code imageType} argument to a {@code BufferedImage} constructor, the created image is consistent with images created in the JDK 1.1 and earlier releases.
Problem
The mention of earlier JDK 1.1 versions is no longer relevant and provides no useful information for current or future implementations.
Solution
The reference to "JDK 1.1 and earlier releases" was removed from the BufferedImage.TYPE_INT_ARGB spec.
Specification
--- a/src/java.desktop/share/classes/java/awt/image/BufferedImage.java
+++ b/src/java.desktop/share/classes/java/awt/image/BufferedImage.java
@@ -100,10 +100,7 @@ public class BufferedImage extends java.awt.Image
* Represents an image with 8-bit RGBA color components packed into
* integer pixels. The image has a {@code DirectColorModel}
* with alpha. The color data in this image is considered not to be
- * premultiplied with alpha. When this type is used as the
- * {@code imageType} argument to a {@code BufferedImage}
- * constructor, the created image is consistent with images
- * created in the JDK1.1 and earlier releases.
+ * premultiplied with alpha.
*/
public static final int TYPE_INT_ARGB = 2;
- csr of
-
JDK-8369618 Remove outdated reference to JDK 1.1 in the spec of BufferedImage.TYPE_INT_ARGB
-
- Open
-