#Test Results (version 2) #Thu May 14 20:18:27 CEST 2009 #checksum:6f8204b111b22b0f #-----testdescription----- $file=/home/mark/src/icedtea6/openjdk/jdk/test/java/net/InetAddress/GetLocalHostWithSM.java $root=/home/mark/src/icedtea6/openjdk/jdk/test keywords=bug4531817 othervm run=USER_SPECIFIED main/othervm GetLocalHostWithSM files needed: GetLocalHostWithSM.java, MyPrincipal.java, and policy.file\n source=GetLocalHostWithSM.java title=Inet[46]Address.localHost need doPrivileged #-----environment----- #-----testresult----- description=file:/home/mark/src/icedtea6/openjdk/jdk/test/java/net/InetAddress/GetLocalHostWithSM.java end=Thu May 14 20:18:27 CEST 2009 environment=regtest execStatus=Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: InetAddress.getLocalHost() test fails. localHost2 should be the real address instead of the loopback address.localhost.localdomain/127.0.0.1 javatestOS=Linux 2.6.29.3-140.fc11.x86_64 (amd64) javatestVersion=unset script=com.sun.javatest.regtest.RegressionScript sections=script_messages build compile main start=Thu May 14 20:18:25 CEST 2009 test=java/net/InetAddress/GetLocalHostWithSM.java work=/home/mark/src/icedtea6/test/jdk/JTwork/java/net/InetAddress #section:script_messages ----------messages:(4/237)---------- JDK under test: (/home/mark/src/icedtea6/openjdk/build/linux-amd64/j2sdk-image) java version "1.6.0_0" OpenJDK Runtime Environment (IcedTea6 1.5pre-r50c172a7a7f4) (build 1.6.0_0-b16) OpenJDK 64-Bit Server VM (build 14.0-b15, mixed mode) #section:build ----------messages:(3/103)---------- command: build GetLocalHostWithSM reason: Named class compiled on demand elapsed time (seconds): 1.621 result: Passed. Build successful #section:compile ----------messages:(3/183)---------- command: compile /home/mark/src/icedtea6/openjdk/jdk/test/java/net/InetAddress/GetLocalHostWithSM.java reason: .class file out of date or does not exist elapsed time (seconds): 1.621 ----------System.out:(0/0)---------- ----------System.err:(2/180)---------- Note: /home/mark/src/icedtea6/openjdk/jdk/test/java/net/InetAddress/GetLocalHostWithSM.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. result: Passed. Compilation successful #section:main ----------messages:(3/276)---------- command: main GetLocalHostWithSMfiles needed: GetLocalHostWithSM.java, MyPrincipal.java, and policy.file reason: User specified action: run main/othervm GetLocalHostWithSM files needed: GetLocalHostWithSM.java, MyPrincipal.java, and policy.file elapsed time (seconds): 0.329 ----------System.out:(0/0)---------- ----------System.err:(13/1097)---------- java.lang.RuntimeException: InetAddress.getLocalHost() test fails. localHost2 should be the real address instead of the loopback address.localhost.localdomain/127.0.0.1 at GetLocalHostWithSM.main(GetLocalHostWithSM.java:69) 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:616) at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94) at java.lang.Thread.run(Thread.java:636) JavaTest Message: Test threw exception: java.lang.RuntimeException: InetAddress.getLocalHost() test fails. localHost2 should be the real address instead of the loopback address.localhost.localdomain/127.0.0.1 JavaTest Message: shutting down test STATUS:Failed.`main' threw exception: java.lang.RuntimeException: InetAddress.getLocalHost() test fails. localHost2 should be the real address instead of the loopback address.localhost.localdomain/127.0.0.1 result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: InetAddress.getLocalHost() test fails. localHost2 should be the real address instead of the loopback address.localhost.localdomain/127.0.0.1 test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: InetAddress.getLocalHost() test fails. localHost2 should be the real address instead of the loopback address.localhost.localdomain/127.0.0.1