< prev index next >
src/share/vm/utilities/constantTag.cpp
Print this page
*** 1,7 ****
/*
! * Copyright (c) 1997, 2014, 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.
--- 1,7 ----
/*
! * 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,62 ****
--- 53,63 ----
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,78 ****
--- 70,81 ----
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,92 ****
--- 86,97 ----
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,132 ****
--- 128,139 ----
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 >