6706299: System property java.class.version should be 51 for jdk7
authorsherman
Fri, 06 Jun 2008 14:57:32 -0700
changeset 689 10d8df51c03a
parent 688 5ebcfc3cebe4
child 690 0bf7af5e8a3b
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
jdk/src/share/native/java/lang/System.c
jdk/test/java/lang/System/Versions.java
--- a/jdk/src/share/native/java/lang/System.c	Thu Jun 05 16:19:27 2008 -0700
+++ b/jdk/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/jdk/test/java/lang/System/Versions.java	Thu Jun 05 16:19:27 2008 -0700
+++ b/jdk/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
  */