This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: NPE in Socket()#connect(SocketAddress) for giberish socket-address?
- From: Tom Tromey <tromey at redhat dot com>
- To: Martin Egholm Nielsen <martin at egholm-nielsen dot dk>
- Cc: java at gcc dot gnu dot org
- Date: Wed, 22 Feb 2006 17:02:15 +0100
- Subject: Re: NPE in Socket()#connect(SocketAddress) for giberish socket-address?
- References: <dt4n30$bd$1@sea.gmane.org>
- Reply-to: tromey at redhat dot com
>>>>> "Martin" == Martin Egholm Nielsen <martin@egholm-nielsen.dk> writes:
Martin> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21941
Martin> So I reckon this has not been fixed yet?
No, not yet. I can still reproduce this.
The fix might be as easy as checking for null in the native code and
throwing a SocketException. I didn't investigate.
Tom