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

2014-07-16 Thread Thomas Klute
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 tha

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

2014-07-16 Thread Emmanuel Bourg
Hi Thomas, 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). The best we could do would be to add a suggested dependency, but this can't be a hard dependency.

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

2014-07-16 Thread Thomas Klute
Package: jtreg Version: 4.1-2 Severity: important While trying to compile the experimental openjdk-8 package from source, the jtreg test suite completely failed to run with the error message "Cannot determine version of java to run jtreg". I found that the reason was that jtreg expects to find a