JDK-4425361 : The IPv6 API (java.net) is not aware of IPv6 scopes
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.net
  • Affected Version: 1.4.0
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic,solaris_8
  • CPU: unknown,sparc
  • Submitted: 2001-03-14
  • Updated: 2017-05-16
  • Resolved: 2003-08-17
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 Availabitlity Release.

To download the current JDK release, click here.
5.0 tigerFixed
Related Reports
Duplicate :  
The IPv6 API (java.net) is not aware of IPv6 scopes, for instance
the API cannot deal with unicast link-local traffic because there
is not way to specify interfaces...

References: RFC 2553 "Basic API" (also draft-ietf-ipngwg-rfc2553bis-03.txt) draft-ietf-ipngwg-scoping-arch-02.txt (scopes and zones) and draft-ietf-ipngwg-scopedaddr-format-02.txt (% notation).

CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: tiger FIXED IN: tiger INTEGRATED IN: tiger tiger-b16

SUGGESTED FIX >Proposed Fix(es): > Add a scope ID field in the Inet6Address objects. Use the NetworkInterface > class as a scope ID abstraction (a scope ID denotes one or a set of > interfaces, an interface can belong only to one zone of a given scope, > so an interface which is a member of the interface set of a zone can > denote the zone. In fact in the current case there is only one interface > in the set. Details (as the mapping between the (index of the) interface > and the scope ID) are implementation dependent and should not be publicly > visible. > The % notation can be used (this should be used at least for the toString > method of Inet[6]Address, ie. Inet6Address getHostAddress()). > You should contact the IPv6 team of Solaris engineering...

EVALUATION This RFE is being looked into now. yingxian.wang@eng 2001-06-18