This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Handle null host in Socket.bind().


David Daney wrote:


Testing reveals that a null host value is handled in InetSocketAdress' constructor. The checks in natPlainSocketImplPosix.cc are redundant, but not harmful.

In stage 1 I will test this patch:

2008-02-04 David Daney <ddaney@avtrex.com>

    * gnu/java/net/natPlainSocketImplPosix.cc (bind): Remove check for
    null host.


I would like to commit this patch. It just removes some dead code.


Tested on x86_64-linux-gnu no regressions in libjava testsuite or mauve.

OK to commit.

David Daney


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]