6855069: rmic should support v51 class files.
authorjjg
Mon, 29 Jun 2009 16:28:58 -0700
changeset 3075 e0062f682850
parent 3074 057d906ae701
child 3076 72ecb77419d1
child 3077 4be3e0e4d42c
6855069: rmic should support v51 class files. Reviewed-by: jrose
jdk/src/share/classes/sun/tools/java/RuntimeConstants.java
--- a/jdk/src/share/classes/sun/tools/java/RuntimeConstants.java	Mon Jun 29 15:08:52 2009 +0100
+++ b/jdk/src/share/classes/sun/tools/java/RuntimeConstants.java	Mon Jun 29 16:28:58 2009 -0700
@@ -67,7 +67,7 @@
     /* Class File Constants */
     int JAVA_MAGIC                   = 0xcafebabe;
     int JAVA_MIN_SUPPORTED_VERSION   = 45;
-    int JAVA_MAX_SUPPORTED_VERSION   = 50;
+    int JAVA_MAX_SUPPORTED_VERSION   = 51;
     int JAVA_MAX_SUPPORTED_MINOR_VERSION = 0;
 
     /* Generate class file version for 1.1  by default */
@@ -304,7 +304,7 @@
     int opc_invokespecial            = 183;
     int opc_invokestatic             = 184;
     int opc_invokeinterface          = 185;
-    int opc_xxxunusedxxx             = 186;
+    int opc_invokedynamic            = 186;
     int opc_new                      = 187;
     int opc_newarray                 = 188;
     int opc_anewarray                = 189;
@@ -510,7 +510,7 @@
         "invokespecial",
         "invokestatic",
         "invokeinterface",
-        "xxxunusedxxx",
+        "invokedynamic",
         "new",
         "newarray",
         "anewarray",
@@ -717,7 +717,7 @@
         3,
         3,
         5,
-        0,
+        5,
         3,
         2,
         3,