jtreg -version reports bogus version

Medi Montaseri medi.montaseri at hds.com
Fri Feb 28 14:10:54 PST 2014


Hi,

OS = Debian 7.3
JDK = OpenJDK 7

I have installed jtreg-4.2.0-SNAPSHOT.tar.gz on /opt/jtreg/jtreg-4.2/.
However when I run -version I get a bogus version

mmontaseri at griffin:~> /opt/jtreg/jtreg-4.2/linux/bin//jtreg -version
jtreg, version 4.0 dev b00
Installed in /opt/jtreg/jtreg-4.2/lib/jtreg.jar
Running on platform version 1.7.0_25 from /usr/lib/jvm/java-7-openjdk-amd64/jre.
Built with 1.7.0_25 on 02/23/2014 09:12 PM.
Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved.
Use is subject to license terms.
TestNG: version 6.8-201210030754

This seems like a bug. If so,  do I file a bug, or one of you guys do?

I need this because testing OpenJDK8 needs a jtreg 4.2 and my script needs to be able to tell what it is working with.

thanks
Medi






More information about the jtreg-dev mailing list