-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P3
-
Affects Version/s: 6
-
Component/s: core-libs
-
b123
-
generic
-
generic
-
Verified
The cloneArray method in java.io.ObjectInputStream does not handle short[], but have two cased for double[]. With assertions enabled an unlucky program would crash. With assertions disabled, suposedly immutable data might not be. The likelihood of a program using a custom resolver to produce a short[] is low, of course.
Observed in 1.6, still present in 1.7.
Observed in 1.6, still present in 1.7.