RFR (S) 8007142: Add utility classes for writing better multiprocess tests in jtreg

Alan Bateman Alan.Bateman at oracle.com
Mon Feb 4 10:55:15 UTC 2013


On 04/02/2013 10:33, Yekaterina Kantserova wrote:
>
> No, it was a bad example. Let's take another one:
>
> /java -jar jtreg.jar -jdk MONKEY -compilejdk LION test.java/
>
> In this case JDKToolFinder.getJDKTool("jcmd") will return 
> LION/bin/jcmd, but I need to test MONKEY/bin/jcmd.
The -compilejdk option should only be used when testing a JRE -- ie: no 
tools in the runtime under test.

So this your example shouldn't include the -compilejdk option as it is 
testing a JDK.

-Alan.



More information about the core-libs-dev mailing list