EHC ❯ fix serialization for primitive Class instances
-
Bug
-
Status: Closed
-
2 Major
-
Resolution: Fixed
-
-
-
cdennis
-
Reporter: teck
-
September 20, 2010
-
0
-
Watchers: 0
-
November 01, 2010
-
September 21, 2010
Description
Chris says that the code that maps ObjectStreamClass descriptors to integers has the same problem we had in the toolkit. Namely that instances of java.lang.Class for the primitive types (eg. Integer.TYPE, short.class, etc) fail to deserialize.
The fix for the toolkit was to pre-seed the serializer for the primitive types (including Void!)