Starting a special build 7u4 b200 with Tonga, I'm getting a crash on the start somewhere in socketBind (and deeper, in libnet and libjvm).
Crash log attached.
Note that the crash is here even without closed part (for instance when I use binaries created on my machine just from jdk7u-osx sources).
Mac OS X 10.7.2, macmini4,1
To reproduce, you can just start "$this_build/bin/java -cp tonga.jar Tonga"
in the initial fix I tried to re-use the global jfieldid that was initialized elsewhere in the networking
native code. However, this call site was not being initialized in time for the usage in ServerSocket.bind(). So, the bind() was failing unless NetworkInterface was initialized first.
Also reported here: