9-b170 breaks the jtreg detection on FHS based systems

Jonathan Gibbons jonathan.gibbons at oracle.com
Thu May 18 23:19:57 UTC 2017



On 05/18/2017 04:12 PM, Matthias Klose wrote:
> Hi, I don't know why the jtreg check was tightened or changes, however it breaks
> the build on FHS based systems, like on most Linux distros.
>
>    /usr/bin/jtreg
>    /usr/share/java/jtreg.jar
>
> What is this supposed to check? Currenlty it expects a JT_HOME, but apparently
> only uses the locaton of the jar file.
>
> Matthias

Without commenting on the build changes, I note that jtreg normally 
expects to live in
the following sort of hierarchy, unless you are prepared to use options 
to specify the
locations of other jar files.

bin/jtreg
lib/asmtools.jar
lib/testng.jar
lib/jcov_network_saver.jar
lib/jh.jar
lib/junit.jar
lib/jcov.jar
lib/jtreg.jar
lib/javatest.jar

-- Jon



More information about the build-dev mailing list