United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6691775 Regression test for 6558853 does not pass on our linux-amd64 build machine.
JDK-6691775 : Regression test for 6558853 does not pass on our linux-amd64 build machine.

Details
Type:
Bug
Submit Date:
2008-04-22
Status:
Closed
Updated Date:
2010-04-02
Project Name:
JDK
Resolved Date:
2009-07-06
Component:
core-libs
OS:
generic
Sub-Component:
java.net
CPU:
generic
Priority:
P3
Resolution:
Cannot Reproduce
Affected Versions:
7
Fixed Versions:
7

Related Reports

Sub Tasks

Description
Is this a configuration error, or a real issue?

TEST: java/net/Inet6Address/B6558853.java
JDK under test: (/java/security/ws/jdk7-integrations/nightlies/ws/build/linux-am
d64/j2sdk-image)
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 12.0-b01, mixed mode)
...deleted...
java.lang.RuntimeException: Wrong address: 0:0:0:0:0:0:0:1
        at B6558853.main(B6558853.java:67)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:623)
        at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:
78)
        at java.lang.Thread.run(Thread.java:674)

JavaTest Message: Test threw exception: java.lang.RuntimeException: Wrong addres
s: 0:0:0:0:0:0:0:1
JavaTest Message: shutting down test

STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Wrong address:
 0:0:0:0:0:0:0:1

TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.Runtime
Exception: Wrong address: 0:0:0:0:0:0:0:1

                                    

Comments
EVALUATION

The ::1 address is the IPv6 loopback address and is not a link-local address.
The test shouldn't have used it. There seems to be a glitch specific to linux-amd64 which makes isLinkLocalAddress() return true when it shouldn't.
This requires more investigating, but shouldn't be seen as a regression.
                                     
2008-04-23
EVALUATION

That error has not been reproduced since.
Closing.
                                     
2009-07-06



Hardware and Software, Engineered to Work Together