failures running jdk/test/java/dyn tests

Stephen Bannasch stephen.bannasch at deanbrook.org
Tue Jan 11 15:26:20 PST 2011


I'm trying to run the four dyn tests in jdk/test/java/dyn for my mlvm build using jtreg v4.1 and I'm failing 3 out of 4 -- I 
assume these tests should pass?

I'd like to run a small subset of tests whenever I have what appears to a successful build to confirm that the mlvm 
functionality is working correctly.

Perhaps I am running them incorrectly??  Can I run these tests via jtreg?

fyi: I am building using these guards:

   export davinci=$(pwd) guards="buildable testable /coro"

I am in my sources/ dir which has the hg forest cloned into it. After building I can run the mlvm build like this:

   [sources]$ ./build/bsd-amd64/j2sdk-image/bin/java -version
   openjdk version "1.7.0-internal-fastdebug"
   OpenJDK Runtime Environment (build 1.7.0-internal-fastdebug-stephen_2011_01_11_17_58-b00)
   OpenJDK 64-Bit Server VM (build 20.0-b03-fastdebug, mixed mode)

Here's what I get when I run the four dyn test suites in jdk/test/java/dyn

   [sources]$ jtreg -jdk:build/bsd-amd64/j2sdk-image -vmoption:-XX:+UnlockExperimentalVMOptions 
-vmoption:-XX:+EnableInvokeDynamic -v:summary jdk/test/java/dyn
   Passed: java/dyn/ClassValueTest.java
   FAILED: java/dyn/InvokeDynamicPrintArgs.java
   FAILED: java/dyn/InvokeGenericTest.java
   FAILED: java/dyn/JavaDocExamplesTest.java
   FAILED: java/dyn/MethodHandlesTest.java
   Test results: passed: 1; failed: 4



More information about the mlvm-dev mailing list