JDK-6379550 : Windows Vista support
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.net
  • Affected Version: 6
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: windows
  • CPU: generic,x86
  • Submitted: 2006-02-01
  • Updated: 2012-03-23
  • Resolved: 2011-05-18
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.
JDK 7
7 b15Fixed
Related Reports
Duplicate :  
Duplicate :  
Duplicate :  
Relates :  
Relates :  
Relates :  
Description
Windows Vista (codename longhorn) has a new TCP/IP stack that is significantly different from previous versions, particularly in the way it deals with IPv6.
The J2SE networking native code need to be changed to account for that, right now, as of Windows Vista beta 1, many functionalities are broken.

Comments
EVALUATION For jdk7 we have changed our internal implementation for java.net.Socket and java.net.DatagramSocket to use the new dual TCP/IP stack that is available on Windows Vista. This involved creating two new SocketImpl's, DualStackPlainSocketImpl and DualStackPlainDatagramSocketImpl. The current socket impls have been rename to TwoStacksPlainSocketImpl and TwoStacksPlainDatagramSocketImpl, and these will continue to be used for all sockets, both IPv4 and IPv6, for version of Windows less than Vista. There is of course no public API change here, only the internal implemenation has changed, but if you have any problems or see the above classes in a stacktrace you will know what they are for. You can revert back to the old socket implemtation ( which is the way it is implemented in jdk6) by setting the system property 'java.net.preferIPv4Stack' to true. see http://java.sun.com/javase/6/docs/technotes/guides/net/properties.html Of course the implication of this is that the application will not be able to communicate with IPv6 hosts.
13-06-2007

EVALUATION Some of the changes in Windows Vista networking stack disrupt the logic of the networking native code, particularly when dealing with IPv6. That native code needs to be carefuly re-organised and modified to take into account all these changes.
01-02-2006