JDK-4519050 : cannot deserialize void.class
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.io:serialization
  • Affected Version: 1.4.1
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2001-10-25
  • Updated: 2002-04-18
  • Resolved: 2002-04-11
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
1.4.1 hopperFixed
Related Reports
Relates :  
Description
Although the fix for 4171142 ("Deserialization fails for Class object of
primitive type") enables ObjectInputStream to deserialize Class objects for
primitive types, it failed to address void.class (a.k.a. java.lang.Void.TYPE).
ObjectInputStream.resolveClass() should be updated to handle void.class in the
same way that it does primitive types.

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: hopper FIXED IN: hopper INTEGRATED IN: hopper VERIFIED IN: hopper
14-06-2004

SUGGESTED FIX See description.
11-06-2004

PUBLIC COMMENTS Although the fix for 4171142 ("Deserialization fails for Class object of primitive type") enables ObjectInputStream to deserialize Class objects for primitive types, it failed to address void.class (a.k.a. java.lang.Void.TYPE). ObjectInputStream.resolveClass() should be updated to handle void.class in the same way that it does primitive types.
10-06-2004

EVALUATION Will fix for hopper. ###@###.### 2001-10-24
24-10-2001