On Thursday 31 January 2013 05:02:51 pm Kurt Miller wrote:
Hi Oliver,
On Thursday 31 January 2013 01:39:40 pm Oliver Lehmann wrote:
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_...
The bsd-port repository is for openjdk7. For openjdk6 on FreeBSD you would need to instal the ports tree and build /usr/local/java/openjdk6:
/usr/ports/java/openjdk6 rather.
http://svnweb.freebsd.org/ports/head/java/openjdk6
It uses the source you found above combined with a large patchset plus some other patches.
Regards, -Kurt
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?