jtreg -version reports bogus version

Jonathan Gibbons jonathan.gibbons at oracle.com
Fri Feb 28 14:22:10 PST 2014


Medi,

The version string is not contained within the jtreg source code. It is 
composed from values that are provided when jtreg is built, so if you 
are getting an unexpected string, you should check with wherever you got 
your jtreg bits.

There is no "official" jtreg 4.2.    All "official" versions at this 
point are of the form "jtreg 4.1 bNN"  where NN is a small 2-digit integer.

I doubt that OpenJDK 8 "requires" jtreg 4.2, since at least for us 
Oracle people, there is no such version.

-- Jon


On 02/28/2014 02:10 PM, Medi Montaseri wrote:
> 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