United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-6543428 : BindException when binding to a link-local address on Windows

Details
Type:
Bug
Submit Date:
2007-04-06
Status:
Closed
Updated Date:
2012-07-16
Project Name:
JDK
Resolved Date:
2011-03-07
Component:
core-libs
OS:
windows_xp
Sub-Component:
java.net
CPU:
x86
Priority:
P3
Resolution:
Fixed
Affected Versions:
7
Fixed Versions:

Related Reports
Backport:
Backport:
Relates:
Relates:
Relates:

Sub Tasks

Description
When binding to a link-local address on Windows, without supplying a scope id in the address, a BindException is thrown.

                                    

Comments
EVALUATION

Yes, indeed. If its Inet6Address parameter has no scope id, NET_InetAddressToSockaddr() will fill in sin6_scope_id with value zero, which is not going to work.
                                     
2007-04-06



Hardware and Software, Engineered to Work Together