-
Bug
-
Resolution: Fixed
-
P3
-
1.2.0
-
1.2.2
-
generic
-
generic
Name: rrC76497 Date: 10/12/98
The SampleModel constructor does not check for the valid datatypes. If
datatype <0 or datatype>5 then an IllegalArgumentException must be
thrown and that should be mentioned in the javadoc comments. For image
data supported by the Java 2D API as of jdk 1.2fcs, this will be one of
DataBuffer.TYPE_BYTE, DataBuffer.TYPE_USHORT, or
DataBuffer.TYPE_INT.Instead all that the constructor does is:-
"this.dataType = dataType;"
======================================================================
- duplicates
-
JDK-4274690 RasterFactory.createBandedSampleModel() passed unexpected with illegal data type
-
- Closed
-