JDK-7120875 : Networking updates (ipv6) and regression test script fixes for macos port
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.net
  • Affected Version: 7
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: os_x
  • CPU: generic,x86
  • Submitted: 2011-12-13
  • Updated: 2012-03-27
  • Resolved: 2012-03-27
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
7u4 b11Fixed
Related Reports
Duplicate :  
Relates :  
Macosx (Lion) does not seem to be setting a default scope_id (even though the Kame IPv6 implementation can do it). 
Also, there is a problem that MulticastSocket.setNetworkInterface() must be called before it is possible to join IPv6 groups.
This CR being used to push other regression test script fixes also.
Description from http://java.net/jira/browse/MACOSX_PORT-216:
Build: b201
Keywords: test-fail-macos
Tests failed (Regression)

Build: b204
Keywords: test-fail-macos
Tests failed (JCK-RUNTIME)

EVALUATION Solution is to look up a default interface at startup and use that for whenever a scope_id is not spcecified. we may need to hook into the OS, for the situation when they eventually fix this. As it probabaly makes more sense to let the system choose the default rather than java do it.