You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Leo Li (JIRA)" <ji...@apache.org> on 2006/12/14 06:13:22 UTC
[jira] Updated: (HARMONY-2674) [classlib][luni]File on Harmony has
more fields than serialization form requires .
[ http://issues.apache.org/jira/browse/HARMONY-2674?page=all ]
Leo Li updated HARMONY-2674:
----------------------------
Attachment: patch-2674.diff
Will somebody try the patch?
> [classlib][luni]File on Harmony has more fields than serialization form requires .
> ----------------------------------------------------------------------------------
>
> Key: HARMONY-2674
> URL: http://issues.apache.org/jira/browse/HARMONY-2674
> Project: Harmony
> Issue Type: Bug
> Reporter: Leo Li
> Attachments: patch-2674.diff
>
>
> Here is the testcase:
> public void test_ObjectStreamClass_getFields() {
> ObjectStreamClass objectStreamClass = ObjectStreamClass
> .lookup(File.class);
> ObjectStreamField[] objectStreamFields = objectStreamClass.getFields();
> assertEquals(1, objectStreamFields.length);
> assertEquals("path", objectStreamFields[0].getName());
> assertEquals(String.class, objectStreamFields[0].getType());
> }
> RI passes.
> Harmony fails.
--
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