NPE in Socket()#connect(SocketAddress) for giberish socket-address?

Martin Egholm Nielsen martin@egholm-nielsen.dk
Wed Feb 22 20:00:00 GMT 2006


Tom Tromey wrote:
>>>>>>"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.
Oki - neither did I... I had to make a quick fix, so I just wrapped it 
with try-catch the only place where used (around JavaMail)...
Thx,
 Martin


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /