Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6691775
Votes 0
Synopsis Regression test for 6558853 does not pass on our linux-amd64 build machine.
Category java:classes_net
Reported Against
Release Fixed
State 11-Closed, Not Reproducible, bug
Priority: 3-Medium
Related Bugs
Submit Date 22-APR-2008
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
Posted Date : 2008-04-22 00:35:11.0
Work Around
N/A
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.
Posted Date : 2008-04-23 15:31:14.0

That error has not been reproduced since.
Closing.
Posted Date : 2009-07-06 13:54:15.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang