getHostName() throws unexpected exception on Win Xp (64)
To Reproduce the failure , run the program below with Hopper b11 on Windows XP(64) Itanium machine .
-------------------------------------------------------------
import java.net.*;
import java.lang.SecurityException;
public class getHostNameTest{
getHostNameTest() {
}
public static void main(String [] args) {
try{
InetAddress group = InetAddress.getByName("129.145.155.198");
String myName = group.getHostName();
System.out.println("Host name returned " +myName);
}catch(Exception e){
System.out.println("Exception :"+e);
}
}
}
-------------------------------------------------------------
Error Report file is attached
Looks like exception is thrown in the native method - 'java.net.Inet4AddressImpl.getHostByAddr(Native Method)'
To Reproduce the failure , run the program below with Hopper b11 on Windows XP(64) Itanium machine .
-------------------------------------------------------------
import java.net.*;
import java.lang.SecurityException;
public class getHostNameTest{
getHostNameTest() {
}
public static void main(String [] args) {
try{
InetAddress group = InetAddress.getByName("129.145.155.198");
String myName = group.getHostName();
System.out.println("Host name returned " +myName);
}catch(Exception e){
System.out.println("Exception :"+e);
}
}
}
-------------------------------------------------------------
Error Report file is attached
Looks like exception is thrown in the native method - 'java.net.Inet4AddressImpl.getHostByAddr(Native Method)'
- duplicates
-
JDK-4679269 HPI function prototypes not valid for IA64
- Closed