8149519: Set java.specification.version to the MAJOR java version
authorsimonis
Mon, 04 Apr 2016 18:35:51 +0200
changeset 39819 c15ef8b3b5ca
parent 39818 7c033fe55c17
child 39820 428c076d7ddf
8149519: Set java.specification.version to the MAJOR java version Reviewed-by: alanb, dholmes, iris
common/autoconf/spec.gmk.in
--- a/common/autoconf/spec.gmk.in	Thu Jul 28 16:43:25 2016 +0000
+++ b/common/autoconf/spec.gmk.in	Mon Apr 04 18:35:51 2016 +0200
@@ -175,8 +175,8 @@
 VERSION_STRING := @VERSION_STRING@
 # The short version string, without trailing zeroes and just PRE, if present.
 VERSION_SHORT := @VERSION_SHORT@
-# The Java specification version. It should be equal to version number.
-VERSION_SPECIFICATION := @VERSION_NUMBER@
+# The Java specification version. It usually equals to the major version number.
+VERSION_SPECIFICATION := @VERSION_MAJOR@
 # A GA version is defined by the PRE string being empty. Rather than testing for
 # that, this variable defines it with true/false.
 VERSION_IS_GA := @VERSION_IS_GA@