(original) (raw)

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.