commit-classpath
[Top][All Lists]
Advanced

[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 11:52:04 -0400
User-agent: Mozilla/5.0 (compatible; Konqueror/3.1; Linux; X11; i686; de, address@hidden)

Patch #1774 has been updated. 

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

Follow-Ups:

Date: Tue 07/29/2003 at 14:55
By: crawley

Comment:
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.

-------------------------------------------------------

Date: Tue 07/29/2003 at 15:52
By: mkoch

Comment:
Fixed in CVS
-------------------------------------------------------

-------------------------------------------------------
For more info, visit:

http://savannah.gnu.org/patch/?func=detailpatch&patch_id=1774&group_id=85

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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