[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[patch #1774] [Patch #1774] Fix for native PlainSocketImpl.connect(...)

From: noreply
Subject: [patch #1774] [Patch #1774] Fix for native PlainSocketImpl.connect(...)
Date: Tue, 29 Jul 2003 10:55:17 -0400
User-agent: Mozilla/5.0 (compatible; Konqueror/2.2.2-3; Linux)

Patch #1774 has been updated. 

Category: None
Status: Open
Summary: Fix for native PlainSocketImpl.connect(...)


Date: Wed 07/30/2003 at 00:55
By: crawley

This fixes a problem with connect(InetAddress, int) on
PlainSocketImpl that causes a toString() on a connected
socket to not show the remove hostname.  The problem was
that the native implementation of the connect method was
creating a new InetAddress object from the IP address of
the remote machine.  This fix reuses the InetAddress passed
as the connect parameter.  [If the remote IP address
is different to the IP address in the parameter object,
we don't do this.  However, I don't think this can happen.]

Changelog message:

        * native/jni/java-net/javanet.c (_javanet_connect) :
        Don't create a new InetAddress for the remote host.
        Instead, attach the parameter InetAddress to the
        connected SocketImpl object.


For more info, visit:

  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]