Hello,

kaffe-1.1.6 has a bug in
libraries/javalib/gnu/java/net/PlainSocketImpl.java:

when you use getOption(int) in order to ask it for SO_REUSEADDR, you get an
Integer back which is either 0 or 1. It should be a Boolean instead, as
getReuseAddress() executed on a socket expects this.

Patch attached, hope it helps. I just tested it here with a
ServerSocket.getReuseAddress() and it looks good (no more exceptions
signalling an internal error).

-- 
Nico

GMX DSL = Maximale Leistung zum minimalen Preis!
2000 MB nur 2,99, Flatrate ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl

Attachment: PlainSocketImpl.java-SO_REUSEADDR.patch
Description: Binary data

_______________________________________________
kaffe mailing list
[email protected]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe

Reply via email to