-
Bug
-
Resolution: Cannot Reproduce
-
P3
-
None
-
7, 7u5
-
x86
-
windows_7
FULL PRODUCT VERSION :
java version "1.7.0_05"
Java(TM) SE Runtime Environment (build 1.7.0_05-b05)
Java HotSpot(TM) 64-Bit Server VM (build 23.1-b03, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 6.1.7601]
A DESCRIPTION OF THE PROBLEM :
Unless using the -Djava.net.preferIPv4Stack=true, the report in bug 7115226 hangs every time.
REGRESSION. Last worked in version 7
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
See bug 7115226 - compile and run the program.
Another way to reproduce is to run a Tomcat unit test
1. svn co http://svn.apache.org/repos/asf/tomcat/trunk
2. cd trunk
3. [with java 6] ant
4. [with java 7] ant -Dtest.entry=org.apache.catalina.connector.TestSendFile test-bio test-nio
Work arounds are
a) Use Java 6
b) Use -Djava.net.preferIPv4Stack=true when using Java 7
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
test case hangs using Java 7, works fine when using Java 6 or using -Djava.net.preferIPv4Stack=true
REPRODUCIBILITY :
This bug can be reproduced always.
CUSTOMER SUBMITTED WORKAROUND :
-Djava.net.preferIPv4Stack=true
java version "1.7.0_05"
Java(TM) SE Runtime Environment (build 1.7.0_05-b05)
Java HotSpot(TM) 64-Bit Server VM (build 23.1-b03, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 6.1.7601]
A DESCRIPTION OF THE PROBLEM :
Unless using the -Djava.net.preferIPv4Stack=true, the report in bug 7115226 hangs every time.
REGRESSION. Last worked in version 7
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
See bug 7115226 - compile and run the program.
Another way to reproduce is to run a Tomcat unit test
1. svn co http://svn.apache.org/repos/asf/tomcat/trunk
2. cd trunk
3. [with java 6] ant
4. [with java 7] ant -Dtest.entry=org.apache.catalina.connector.TestSendFile test-bio test-nio
Work arounds are
a) Use Java 6
b) Use -Djava.net.preferIPv4Stack=true when using Java 7
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
test case hangs using Java 7, works fine when using Java 6 or using -Djava.net.preferIPv4Stack=true
REPRODUCIBILITY :
This bug can be reproduced always.
CUSTOMER SUBMITTED WORKAROUND :
-Djava.net.preferIPv4Stack=true
- duplicates
-
JDK-7181141 Socket fails to return available data for Windows 7 64 and Java 7
-
- Closed
-
-
JDK-7184280 Applets from a local http server don't load with Windows 7 64 bits and JRE 1.7
-
- Closed
-
-
JDK-7115226 Windows Vista socke read hangs
-
- Closed
-