--- a/hotspot/src/share/vm/utilities/constantTag.hpp Fri Dec 03 12:14:33 2010 -0800
+++ b/hotspot/src/share/vm/utilities/constantTag.hpp Fri Dec 03 15:53:57 2010 -0800
@@ -86,7 +86,8 @@
bool is_method_type() const { return _tag == JVM_CONSTANT_MethodType; }
bool is_method_handle() const { return _tag == JVM_CONSTANT_MethodHandle; }
- bool is_invoke_dynamic() const { return _tag == JVM_CONSTANT_InvokeDynamic; }
+ bool is_invoke_dynamic() const { return (_tag == JVM_CONSTANT_InvokeDynamic ||
+ _tag == JVM_CONSTANT_InvokeDynamicTrans); }
bool is_loadable_constant() const {
return ((_tag >= JVM_CONSTANT_Integer && _tag <= JVM_CONSTANT_String) ||