The current specification for ObjectStreamField.getType() consists of a single
sentence: "Get the type of the field". This does not specify what should be
returned if the field's type doesn't exist in the local VM (the code currently
returns Object.class whenever it doesn't know what the field's type is). The
specification should be updated to be more specific: one possibility would be
to have getType() return null if the field doesn't have a local class.
Specify ObjectStreamField.getType() to return null when the field's class
doesn't exist in the local VM.
BugTraq+ Release Management Values
COMMIT TO FIX:
Serialization spec should be updated to describe current behavior.