-
Bug
-
Resolution: Fixed
-
P2
-
1.2.0
-
1.2beta3
-
generic
-
solaris_2.5
-
Not verified
Are negative offset values legal for ByteLookupTable(int, byte[])
or ByteLookupTable(int, byte[][])?
The code in
/usr/green/SCCS_DIRECTORIES/JDK1.2/src/share/classes/java/awt/image/ShortLookupTable.java
does not check the offset and throw exceptions. Also the spec does
not document exceptions thrown for invalid offsets in the constructor.
This bug also applies to ShortLookupTable and LookupTable
Since this seems to be more implementation than javadoc I am submitted
this under subcategory classes_2D
or ByteLookupTable(int, byte[][])?
The code in
/usr/green/SCCS_DIRECTORIES/JDK1.2/src/share/classes/java/awt/image/ShortLookupTable.java
does not check the offset and throw exceptions. Also the spec does
not document exceptions thrown for invalid offsets in the constructor.
This bug also applies to ShortLookupTable and LookupTable
Since this seems to be more implementation than javadoc I am submitted
this under subcategory classes_2D