We're updating the issue view to help you get more done. 

Failure in Harmony's class library tests

Description

When running Harmony's classlib tests with:

ant -f components/harmony/5.0M6p1/harmony/build.xml -Dtest.jre.home=$PWD/dist/prototype_x86_64-linux -Dbuild.module=luni -Dhy.test.vmargs="-classpath /tmp" -Dhy.javac.compiler=modern test

and with a symlink in the dist directory (dist/prototype_x86_64-linux in this case) from bin to . and a symlink in the same directory from java to rvm, fails with:

run-tests-api:
[echo] Running LUNI JUnit API Tests
[mkdir] Created dir: /home/antigua/IanR/workspace/jikesrvm/components/harmony/5.0M6p1/harmony/build/test_report
[junit] Running org.apache.harmony.luni.tests.internal.net.www.protocol.file.FileURLConnectionTest
[junit]
[junit] Fatal error: ArrayIndexOutOfBoundsException within uninterruptible region (index was 0x0014d554).
[junit] Exiting virtual machine due to uninterruptibility violation.
[junit]
[junit] – Stack –
[junit] at Lorg/jikesrvm/VM; sysFail(Ljava/lang/StringV at line 2145
[junit] at Lorg/jikesrvm/runtime/RuntimeEntrypoints; deliverHardwareException(II)V at line 685
[junit] at <hardware trap>
[junit] at Lorg/jikesrvm/classloader/MemberReference; getMemberRef(I)Lorg/jikesrvm/classloader/MemberReference; at line 166
[junit] at Lorg/jikesrvm/jni/ia32/JNIHelpers; packageAndInvoke(Ljava/lang/Object;ILorg/vmmagic/unboxed/Address;Lorg/jikesrvm/classloader/TypeReference;ZZ)Ljava/lang/Object; at line 265
[junit] at Lorg/jikesrvm/jni/ia32/JNIHelpers; invokeWithDotDotVarArg(ILorg/jikesrvm/classloader/TypeReferenceLjava/lang/Object; at line 91
[junit] at Lorg/jikesrvm/jni/JNIFunctions; CallStaticBooleanMethod(Lorg/jikesrvm/jni/JNIEnvironment;II)Z at line 2783
[junit] at Ljava/net/InetAddress; getHostByNameImpl(Ljava/lang/String;Z)Ljava/net/InetAddress;
[junit] at Ljava/net/InetAddress; lookupHostByName(Ljava/lang/StringLjava/net/InetAddress; at line 422
[junit] at Ljava/net/InetAddress; getLocalHost()Ljava/net/InetAddress; at line 360
[junit] at Lorg/apache/tools/ant/taskdefs/optional/junit/XMLJUnitResultFormatter; getHostname()Ljava/lang/String; at line 147
[junit] at Lorg/apache/tools/ant/taskdefs/optional/junit/XMLJUnitResultFormatter; startTestSuite(Lorg/apache/tools/ant/taskdefs/optional/junit/JUnitTestV at line 123
[junit] at Lorg/apache/tools/ant/taskdefs/optional/junit/JUnitTestRunner; fireStartTestSuite()V at line 613
[junit] at Lorg/apache/tools/ant/taskdefs/optional/junit/JUnitTestRunner; run()V at line 409
[junit] at Lorg/apache/tools/ant/taskdefs/optional/junit/JUnitTestRunner; launch(Lorg/apache/tools/ant/taskdefs/optional/junit/JUnitTest;ZZZZZZLjava/util/PropertiesI at line 912
[junit] at Lorg/apache/tools/ant/taskdefs/optional/junit/JUnitTestRunner; main([Ljava/lang/StringV at line 743
[junit] at <invisible method>
[junit] at Lorg/jikesrvm/runtime/Reflection; outOfLineInvoke(Lorg/jikesrvm/classloader/RVMMethod;Ljava/lang/Object;[Ljava/lang/Object;Z)Ljava/lang/Object; at line 190
[junit] at Lorg/jikesrvm/runtime/Reflection; invoke(Lorg/jikesrvm/classloader/RVMMethod;Lorg/jikesrvm/runtime/ReflectionBase;Ljava/lang/Object;[Ljava/lang/Object;Z)Ljava/lang/Object; at line 81
[junit] at Lorg/jikesrvm/scheduler/MainThread; run()V at line 202
[junit] at Lorg/jikesrvm/scheduler/RVMThread; run()V at line 621
[junit] at Lorg/jikesrvm/scheduler/RVMThread; startoff()V at line 646
[junit] ********************************************************************************
[junit] * Abnormal termination of Jikes RVM *
[junit] * Jikes RVM terminated abnormally indicating a problem in the virtual machine. *
[junit] * Jikes RVM relies on community support to get debug information. Help improve *
[junit] * Jikes RVM for everybody by reporting this error. Please see: *
[junit] * http://jikesrvm.org/Reporting+Bugs *
[junit] ********************************************************************************
[junit] Running org.apache.harmony.luni.tests.util.UtilTest
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
[junit] Tests FAILED (crashed)

Environment

None

Status

Assignee

Unassigned

Reporter

Ian Rogers

Labels

None

External issue ID

None

Components

Priority

Medium