You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Richard Liang (JIRA)" <ji...@apache.org> on 2006/12/21 07:22:24 UTC

[jira] Closed: (HARMONY-2674) [classlib][luni]File on Harmony has more fields than serialization form requires .

     [ http://issues.apache.org/jira/browse/HARMONY-2674?page=all ]

Richard Liang closed HARMONY-2674.
----------------------------------


Verified  by Leo.

> [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
>         Assigned To: Richard Liang
>         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