1.1 --- a/src/share/vm/utilities/constantTag.hpp Wed Nov 12 11:01:31 2008 -0800 1.2 +++ b/src/share/vm/utilities/constantTag.hpp Wed Nov 12 22:33:26 2008 -0800 1.3 @@ -71,6 +71,7 @@ 1.4 bool is_string_index() const { return _tag == JVM_CONSTANT_StringIndex; } 1.5 1.6 bool is_klass_reference() const { return is_klass_index() || is_unresolved_klass(); } 1.7 + bool is_klass_or_reference() const{ return is_klass() || is_klass_reference(); } 1.8 bool is_field_or_method() const { return is_field() || is_method() || is_interface_method(); } 1.9 bool is_symbol() const { return is_utf8(); } 1.10