Bug#754942: jtreg uses /usr/lib/jvm/default-java/ but does not depend on default-jre-headless

Thomas Klute thomas2.klute at uni-dortmund.de
Wed Jul 16 12:45:37 UTC 2014


Hi Emmanuel!

Am 16.07.2014 11:15, schrieb Emmanuel Bourg:
> jtreg doesn't depend on a Java runtime because it can use the JDK being
> tested to run. This is done by setting the JT_JAVA environment variable
> (or JAVA_HOME with jtreg 4.1-2 in Wheezy).

I know, but the openjdk-8 build doesn't do that (which admittedly is not
a failure of jtreg), even on Sid. Remove default-jre-headless and give
it a try. ;-)

> The best we could do would be to add a suggested dependency, but this
> can't be a hard dependency.

As I've written in the report, I know that a hard dependency would not
be appropriate. I'm not sure if suggested or recommended is more
suitable, but I'm not going to complain either way. :-)

> Also note that you'll have to backport jtreg 4.1-b09-1 from unstable if
> you want to run the openjdk-8 tests in Wheezy, jtreg 4.1-2 doesn't work.

Actually, it does. I haven't checked if some of the reported failures
and errors are due to the older version, but the test suite runs on my
wheezy system – as long as default-jre-headless is installed.

Kind regards,
Thomas



More information about the pkg-java-maintainers mailing list