RFR (S) 8007142: Add utility classes for writing better multiprocess tests in jtreg
Alan.Bateman at oracle.com
Mon Feb 4 13:18:41 UTC 2013
On 04/02/2013 11:03, Yekaterina Kantserova wrote:
> But JDKToolFinder.getJDKTool is used even for finding java, e.g. I
> need to fork a java process - JDKToolFinder.getJDKTool("java") for
> some JRE tests?
It might be better to rename JDKToolFinder to something like JdkFinder
and have it define getJavaLauncher() and getTool(String tool) methods.
If you don't agree then you could at least change
ProcessTools.createJavaProcessBuilder so that it looks like "java" in
the JDK/JRE under test.
More information about the core-libs-dev