failures running jdk/test/java/dyn tests

John Rose john.r.rose at oracle.com
Tue Jan 11 17:48:21 PST 2011


On Jan 11, 2011, at 3:26 PM, Stephen Bannasch wrote:

> 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?

You can run with jtreg directly like this:
  $ jtreg -jdk:$JAVA7X_HOME test/java/dyn/
  $ jtreg -jdk:$JAVA7X_HOME test/java/dyn/InvokeDynamicPrintArgs.java

...and so on.

Sometimes, when working with an incremental rebuild of the jdk stuff I do it this way:
  $ jtreg -vmoption:-Xbootclasspath/p:$DAVINCI/patches/netbeans/meth/dist/meth.jar -jdk:$JAVA7X_HOME test/java/dyn

The makefile runs jtreg in a similar way.

> fyi: I am building using these guards:
> 
>   export davinci=$(pwd) guards="buildable testable /coro"

My first suspicion is a conflict between patches.  Maybe meth-conv-6939861.patch is bit-rotted.

-- John



More information about the mlvm-dev mailing list