harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leo Li (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-2674) [classlib][luni]File on Harmony has more fields than serialization form requires .
Date Thu, 14 Dec 2006 03:10:21 GMT
[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


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

        

Mime
View raw message