[classlib][luni] ObjectStreamField.getType() method should return Object.class when this ObjectStreamField
was obtained from a deserialized ObjectStreamClass instance
----------------------------------------------------------------------------------------------------------------------------------------------------------------------
Key: HARMONY-1261
URL: http://issues.apache.org/jira/browse/HARMONY-1261
Project: Harmony
Issue Type: Bug
Components: Classlib
Reporter: Richard Liang
Hello,
ObjectStreamField.getType() method should return Object.class when this ObjectStreamField
was obtained from a deserialized ObjectStreamClass instance, (Spec:If the type is non-primitive
and this ObjectStreamField was obtained from a deserialized ObjectStreamClass instance, then
Object.class is returned. Otherwise, the Class object for the type of the field is returned.)
I will attach a patch to fix this issue.
Best regards,
Richard
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|