In addition to my 1st mail: Is this the code which was used to compile openjdk 6 on FreeBSD?
http://download.java.net/openjdk/jdk6/promoted/b27/openjdk-6-src-b27-26_oct_2012.tar.gz PlainDatagramSocketImpl.c only contains an implementation for Solaris and Linux for the method setMulticastInterface(). It looks like exactly this method is called when ssdpSocket.setInterface(ia); is executed. MulticastSocket.java:setInterface() -> PlainDatagramSocketImpl.java:socketSetOption() -> PlainDatagramSocketImpl.c:Java_java_net_PlainDatagramSocketImpl_socketSetOption() -> PlainDatagramSocketImpl.c:setMulticastInterface() But this tar.gz does not contain (Free)BSD specific code I guess as there are only directories for solaris, linux and windows. So - where is the BSD specific code located?