changeset 355:b53b79a164c2

6706299: System property java.class.version should be 51 for jdk7 Summary: System property java.class.version should be 51 for jdk7 Reviewed-by: alanb
author sherman
date Fri, 06 Jun 2008 14:57:32 -0700
parents 657f24cdfc02
children ffc554348922
files src/share/native/java/lang/System.c test/java/lang/System/Versions.java
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/native/java/lang/System.c	Thu Jun 05 16:19:27 2008 -0700
+++ b/src/share/native/java/lang/System.c	Fri Jun 06 14:57:32 2008 -0700
@@ -84,7 +84,7 @@
 #define VENDOR_URL_BUG "http://java.sun.com/cgi-bin/bugreport.cgi"
 #endif
 
-#define JAVA_MAX_SUPPORTED_VERSION 50
+#define JAVA_MAX_SUPPORTED_VERSION 51
 #define JAVA_MAX_SUPPORTED_MINOR_VERSION 0
 
 JNIEXPORT jobject JNICALL
--- a/test/java/lang/System/Versions.java	Thu Jun 05 16:19:27 2008 -0700
+++ b/test/java/lang/System/Versions.java	Fri Jun 06 14:57:32 2008 -0700
@@ -23,7 +23,7 @@
 
 /**
  * @test
- * @bug 4989690 6259855
+ * @bug 4989690 6259855 6706299
  * @summary Check that version-related system property invariants hold.
  * @author Martin Buchholz
  */