java -version output for JDK8
Omair Majid
omajid at redhat.com
Thu Jul 25 13:58:11 PDT 2013
On 07/25/2013 03:01 PM, Andrew Hughes wrote:
> This logic has always been there. It just never seems to have actually
> worked in the old build system, but does in the new one.
>
>>From http://hg.openjdk.java.net/jdk7u/jdk7u/jdk/file/tip/make/common/shared/Defs.gmk:
Hmm.. I just tested jdk7u-dev and it has the exact behaviour as jdk8.
jdk6 has had the exact same piece of code too, since it was created [1].
I am not sure it's related to new build vs old build.
$ ./build/linux-amd64/j2sdk-image/bin/java -version
openjdk version "1.7.0-internal"
OpenJDK Runtime Environment (build
1.7.0-internal-omajid_2013_07_25_15_46-b00)
OpenJDK 64-Bit Server VM (build 24.0-b53, mixed mode)
So it looks like the behaviour between OpenJDK 6, OpenJDK 7 and OpenJDK
8 is at least consistent, even if I think they are all wrong.
The "correct" change in 7 was from an IcedTea-specific patch:
http://icedtea.classpath.org/hg/icedtea7-forest/jdk/rev/cd86da3affff
Thanks,
Omair
[1]
http://hg.openjdk.java.net/jdk6/jdk6/jdk/diff/0c738a3e5791/make/common/shared/Defs.gmk
--
PGP Key: 66484681 (http://pgp.mit.edu/)
Fingerprint = F072 555B 0A17 3957 4E95 0056 F286 F14F 6648 4681
More information about the jdk8-dev
mailing list