提交 7da93d03 编写于 作者: J jjg

6855069: rmic should support v51 class files.

Reviewed-by: jrose
上级 00a46fcf
...@@ -67,7 +67,7 @@ public interface RuntimeConstants { ...@@ -67,7 +67,7 @@ public interface RuntimeConstants {
/* Class File Constants */ /* Class File Constants */
int JAVA_MAGIC = 0xcafebabe; int JAVA_MAGIC = 0xcafebabe;
int JAVA_MIN_SUPPORTED_VERSION = 45; 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; int JAVA_MAX_SUPPORTED_MINOR_VERSION = 0;
/* Generate class file version for 1.1 by default */ /* Generate class file version for 1.1 by default */
...@@ -304,7 +304,7 @@ public interface RuntimeConstants { ...@@ -304,7 +304,7 @@ public interface RuntimeConstants {
int opc_invokespecial = 183; int opc_invokespecial = 183;
int opc_invokestatic = 184; int opc_invokestatic = 184;
int opc_invokeinterface = 185; int opc_invokeinterface = 185;
int opc_xxxunusedxxx = 186; int opc_invokedynamic = 186;
int opc_new = 187; int opc_new = 187;
int opc_newarray = 188; int opc_newarray = 188;
int opc_anewarray = 189; int opc_anewarray = 189;
...@@ -510,7 +510,7 @@ public interface RuntimeConstants { ...@@ -510,7 +510,7 @@ public interface RuntimeConstants {
"invokespecial", "invokespecial",
"invokestatic", "invokestatic",
"invokeinterface", "invokeinterface",
"xxxunusedxxx", "invokedynamic",
"new", "new",
"newarray", "newarray",
"anewarray", "anewarray",
...@@ -717,7 +717,7 @@ public interface RuntimeConstants { ...@@ -717,7 +717,7 @@ public interface RuntimeConstants {
3, 3,
3, 3,
5, 5,
0, 5,
3, 3,
2, 2,
3, 3,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册