changeset 1396:d926534a1c17

6855069: rmic should support v51 class files. Reviewed-by: jrose
author jjg
date Mon, 29 Jun 2009 16:28:58 -0700
parents 424420bf5917
children cb20a8a1f22f 605d3fa6764e
files src/share/classes/sun/tools/java/RuntimeConstants.java
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/sun/tools/java/RuntimeConstants.java	Mon Jun 29 15:08:52 2009 +0100
+++ b/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,