< prev index next >
src/share/vm/utilities/constantTag.cpp
Print this page
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
@@ -53,10 +53,11 @@
case JVM_CONSTANT_StringIndex :
case JVM_CONSTANT_MethodHandle :
case JVM_CONSTANT_MethodHandleInError :
case JVM_CONSTANT_MethodType :
case JVM_CONSTANT_MethodTypeInError :
+ case JVM_CONSTANT_InvokeDynamicInError :
return T_OBJECT;
default:
ShouldNotReachHere();
return T_ILLEGAL;
}
@@ -69,10 +70,12 @@
return JVM_CONSTANT_UnresolvedClass;
case JVM_CONSTANT_MethodHandleInError:
return JVM_CONSTANT_MethodHandle;
case JVM_CONSTANT_MethodTypeInError:
return JVM_CONSTANT_MethodType;
+ case JVM_CONSTANT_InvokeDynamicInError:
+ return JVM_CONSTANT_InvokeDynamic;
default:
return _tag;
}
}
@@ -83,10 +86,12 @@
return JVM_CONSTANT_UnresolvedClassInError;
case JVM_CONSTANT_MethodHandle:
return JVM_CONSTANT_MethodHandleInError;
case JVM_CONSTANT_MethodType:
return JVM_CONSTANT_MethodTypeInError;
+ case JVM_CONSTANT_InvokeDynamic:
+ return JVM_CONSTANT_InvokeDynamicInError;
default:
ShouldNotReachHere();
return JVM_CONSTANT_Invalid;
}
}
@@ -123,10 +128,12 @@
return "MethodType";
case JVM_CONSTANT_MethodTypeInError :
return "MethodType Error";
case JVM_CONSTANT_InvokeDynamic :
return "InvokeDynamic";
+ case JVM_CONSTANT_InvokeDynamicInError :
+ return "InvokeDynamic Error";
case JVM_CONSTANT_Utf8 :
return "Utf8";
case JVM_CONSTANT_UnresolvedClass :
return "Unresolved Class";
case JVM_CONSTANT_UnresolvedClassInError :
< prev index next >