-
Bug
-
Resolution: Fixed
-
P4
-
1.3.0
-
beta
-
generic
-
generic
Name: skT45625 Date: 07/31/2000
java version "1.2.2"
Classic VM (build JDK-1.2.2-W, native threads, symcjit)
also version 1.2.1 and 1.3
The bug is the following code in java.io.ObjectInputStream:
try {
obj = wireHandle2Object.get(wireoffset);
} catch (ArrayIndexOutOfBoundsException e) {
throw new StreamCorruptedException("Reference to object neve
}
It should be:
try {
obj = wireHandle2Object.get(wireoffset);
} catch (IndexOutOfBoundsException e) {
throw new StreamCorruptedException("Reference to object neve
}
because ArrayList.get throws an IndexOutOfBoundsException not an
ArrayIndexOutOfBoundsException.
(Review ID: 107783)
======================================================================