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: 6644607
Votes 0
Synopsis (ch) test/java/nio/channels/SocketChannel/Connect.java throws UnknownHostException
Category java:classes_nio
Reported Against b02
Release Fixed 7(b25), 6u16-rev(b02) (Bug ID:2170229)
State 10-Fix Delivered, bug
Priority: 4-Low
Related Bugs 6779812
Submit Date 20-DEC-2007
Description
Test Location: /net/cady/export/jdk/6u4/promoted/latest/ws/j2se/test/java/nio/channels/SocketChannel/Connect.java

Test Output:
----------System.err:(24/1302)----------
Got event for our selection key.
Successful connect.
SUCCESS! buffer contents were sent.
java.net.UnknownHostException: jano.sfbay.sun.com
	at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method)
	at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:849)
	at java.net.InetAddress.getAddressFromNameService(InetAddress.java:1200)	at java.net.InetAddress.getAllByName0(InetAddress.java:1153)
	at java.net.InetAddress.getAllByName(InetAddress.java:1083)
	at java.net.InetAddress.getAllByName(InetAddress.java:1019)
	at java.net.InetAddress.getByName(InetAddress.java:969)
	at Connect.test1(Connect.java:30)
	at Connect.main(Connect.java:19)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:78)
	at java.lang.Thread.run(Thread.java:619)
Posted Date : 2007-12-20 23:26:08.0
Work Around
N/A
Evaluation
This test has been failing for a while because of the dependency on jano. Will fix once jdk7 repository is open for business. It would also be good if we can this changed in the 5.0 and 6.0 update workspaces too.
Posted Date : 2007-12-21 08:02:22.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang