-
Bug
-
Resolution: Won't Fix
-
P5
-
None
-
1.3.0, 1.4.2
-
None
-
generic, sparc
-
generic, solaris_2.6
The "clazz" field of non-primitive ObjectStreamFields belonging to incoming
class descriptors does not get initialized properly. As a result, calling
getType() on an incoming ObjectStreamField which has a non-primitive type will
invariably return Object.class, when really it should return the field's class
in the local VM (see attached code).
class descriptors does not get initialized properly. As a result, calling
getType() on an incoming ObjectStreamField which has a non-primitive type will
invariably return Object.class, when really it should return the field's class
in the local VM (see attached code).
- duplicates
-
JDK-4809897 ObjectStreamField.getType() returns Object.class for non-primitive types
-
- Closed
-