-
Bug
-
Resolution: Fixed
-
P2
-
7
-
b33
-
generic
-
generic
On both linux-amd64 (flicker) solaris-sparcv9 (shimmer), we are now getting the following errors in the regression suite:
TEST: java/net/MulticastSocket/SetLoopbackMode.java
TEST: java/net/MulticastSocket/TestDefaults.java
TEST: java/net/Socket/setReuseAddress/Basic.java
TEST: java/net/Socket/SetSoLinger.java
TEST: java/net/Socket/TrafficClass.java
TEST: java/net/Socket/UrgentDataTest.java
TEST: sun/security/ssl/com/sun/net/ssl/internal/ssl/SSLSocketImpl/NewSocketMethods.java
They pass just fine on the 32 bit equivalent.
There are also a bunch of new failures in the JCK, probably directly related.
Example:
TEST: java/net/MulticastSocket/SetLoopbackMode.java
JDK under test: (/build/solaris-sparcv9/j2sdk-image-complete)
java version "1.7.0-internal"
Java(TM) SE Runtime Environment (build 1.7.0-internal-b99)
Java HotSpot(TM) 64-Bit Server VM (build 14.0-b01, mixed mode)
ACTION: build -- Passed. Build successful
REASON: Named class compiled on demand
TIME: 4.064 seconds
messages:
command: build SetLoopbackMode
reason: Named class compiled on demand
elapsed time (seconds): 4.064
ACTION: compile -- Passed. Compilation successful
REASON: .class file out of date or does not exist
TIME: 4.063 seconds
messages:
command: compile /test/solaris-sparcv9/JDK_TESTS/java/net/MulticastSocket/SetLoopbackMode.java
reason: .class file out of date or does not exist
elapsed time (seconds): 4.063
STDOUT:
STDERR:
ACTION: main -- Failed. Execution failed: `main' threw exception: java.net.Socke
tException: Bad address
REASON: Assumed action based on file name: run main SetLoopbackMode
TIME: 0.544 seconds
messages:
command: main SetLoopbackMode
reason: Assumed action based on file name: run main SetLoopbackMode
elapsed time (seconds): 0.544
STDOUT:
Test will use multicast group: /224.80.80.80
******************
STDERR:
java.net.SocketException: Bad address
at java.net.PlainDatagramSocketImpl.socketGetOption(Native Method)
at java.net.AbstractPlainDatagramSocketImpl.getOption(AbstractPlainDatagramSocketImpl.java:324)
at java.net.MulticastSocket.getLoopbackMode(MulticastSocket.java:580)
at SetLoopbackMode.test(SetLoopbackMode.java:39)
at SetLoopbackMode.main(SetLoopbackMode.java:111)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:623)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:
94)
at java.lang.Thread.run(Thread.java:674)
JavaTest Message: Test threw exception: java.net.SocketException: Bad address
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.net.SocketException: Bad address
TEST RESULT: Failed. Execution failed: `main' threw exception: java.net.SocketException: Bad address
TEST: java/net/MulticastSocket/SetLoopbackMode.java
TEST: java/net/MulticastSocket/TestDefaults.java
TEST: java/net/Socket/setReuseAddress/Basic.java
TEST: java/net/Socket/SetSoLinger.java
TEST: java/net/Socket/TrafficClass.java
TEST: java/net/Socket/UrgentDataTest.java
TEST: sun/security/ssl/com/sun/net/ssl/internal/ssl/SSLSocketImpl/NewSocketMethods.java
They pass just fine on the 32 bit equivalent.
There are also a bunch of new failures in the JCK, probably directly related.
Example:
TEST: java/net/MulticastSocket/SetLoopbackMode.java
JDK under test: (/build/solaris-sparcv9/j2sdk-image-complete)
java version "1.7.0-internal"
Java(TM) SE Runtime Environment (build 1.7.0-internal-b99)
Java HotSpot(TM) 64-Bit Server VM (build 14.0-b01, mixed mode)
ACTION: build -- Passed. Build successful
REASON: Named class compiled on demand
TIME: 4.064 seconds
messages:
command: build SetLoopbackMode
reason: Named class compiled on demand
elapsed time (seconds): 4.064
ACTION: compile -- Passed. Compilation successful
REASON: .class file out of date or does not exist
TIME: 4.063 seconds
messages:
command: compile /test/solaris-sparcv9/JDK_TESTS/java/net/MulticastSocket/SetLoopbackMode.java
reason: .class file out of date or does not exist
elapsed time (seconds): 4.063
STDOUT:
STDERR:
ACTION: main -- Failed. Execution failed: `main' threw exception: java.net.Socke
tException: Bad address
REASON: Assumed action based on file name: run main SetLoopbackMode
TIME: 0.544 seconds
messages:
command: main SetLoopbackMode
reason: Assumed action based on file name: run main SetLoopbackMode
elapsed time (seconds): 0.544
STDOUT:
Test will use multicast group: /224.80.80.80
******************
STDERR:
java.net.SocketException: Bad address
at java.net.PlainDatagramSocketImpl.socketGetOption(Native Method)
at java.net.AbstractPlainDatagramSocketImpl.getOption(AbstractPlainDatagramSocketImpl.java:324)
at java.net.MulticastSocket.getLoopbackMode(MulticastSocket.java:580)
at SetLoopbackMode.test(SetLoopbackMode.java:39)
at SetLoopbackMode.main(SetLoopbackMode.java:111)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:623)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:
94)
at java.lang.Thread.run(Thread.java:674)
JavaTest Message: Test threw exception: java.net.SocketException: Bad address
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.net.SocketException: Bad address
TEST RESULT: Failed. Execution failed: `main' threw exception: java.net.SocketException: Bad address
- relates to
-
JDK-6729881 Compiler warnings in networking native code
-
- Closed
-