harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Liang (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-568) Bug in java.net.InetSocketAddress serialization
Date Wed, 07 Jun 2006 09:15:29 GMT
Bug in java.net.InetSocketAddress serialization

         Key: HARMONY-568
         URL: http://issues.apache.org/jira/browse/HARMONY-568
     Project: Harmony
        Type: Bug

  Components: Classlib  
    Reporter: Richard Liang

java.net.InetSocketAddress is not serializable if created by createUnresolved(String,int).
To fix this bug, it should modify several methods related. 

The following test case passes on RI 5.0 but fails on Harmony

public void testSerialization_unresolved() throws Exception {
        InetSocketAddress ia= InetSocketAddress.createUnresolved("badhost",1000);
        InetSocketAddress deIA = (InetSocketAddress) SerializationTester
        assertEquals(ia.getPort(), deIA.getPort());
        assertEquals(ia.getAddress(), deIA.getAddress());

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message