8149519: Set java.specification.version to the MAJOR java version
Reviewed-by: alanb, dholmes, iris
--- 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@