-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P2
-
Affects Version/s: 6u10
-
Component/s: client-libs
Deserialization of any container throws NPE due to a missed initilization inside readObject() method.
private void readObject(ObjectInputStream s)throws ClassNotFoundException, IOException{
ObjectInputStream.GetField f = s.readFields();
Component [] tmpComponent = (Component[])f.get("component", EMPTY_ARRAY);
>> component.addAll(Arrays.asList(tmpComponent));
This is a regression of CR 6616323.
private void readObject(ObjectInputStream s)throws ClassNotFoundException, IOException{
ObjectInputStream.GetField f = s.readFields();
Component [] tmpComponent = (Component[])f.get("component", EMPTY_ARRAY);
>> component.addAll(Arrays.asList(tmpComponent));
This is a regression of CR 6616323.
- relates to
-
JDK-6697660 Multiple JCK tests fails with java.lang.IllegalStateException for 6u10 b23
-
- Resolved
-
-
JDK-6698652 REG: serialization proccess throws NPE
-
- Resolved
-
-
JDK-6616323 consider benefits of replacing a componen array with other collection from the awt.Container class
-
- Closed
-