--- old/src/share/vm/utilities/constantTag.hpp 2017-06-08 09:09:13.363096320 -0400 +++ new/src/share/vm/utilities/constantTag.hpp 2017-06-08 09:09:13.260592998 -0400 @@ -1,5 +1,5 @@ /* - * 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 @@ -43,7 +43,8 @@ JVM_CONSTANT_UnresolvedClassInError = 103, // Error tag due to resolution error JVM_CONSTANT_MethodHandleInError = 104, // Error tag due to resolution error JVM_CONSTANT_MethodTypeInError = 105, // Error tag due to resolution error - JVM_CONSTANT_InternalMax = 105 // Last implementation tag + JVM_CONSTANT_InvokeDynamicInError = 106, // Error tag due to resolution error + JVM_CONSTANT_InternalMax = 106 // Last implementation tag }; @@ -79,6 +80,9 @@ bool is_method_type_in_error() const { return _tag == JVM_CONSTANT_MethodTypeInError; } + bool is_invoke_dynamic_in_error() const { + return _tag == JVM_CONSTANT_InvokeDynamicInError; + } bool is_klass_index() const { return _tag == JVM_CONSTANT_ClassIndex; } bool is_string_index() const { return _tag == JVM_CONSTANT_StringIndex; }