src/share/vm/prims/methodHandleWalk.hpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File
*** old/src/share/vm/prims/methodHandleWalk.hpp	Thu Jan  7 15:24:29 2010
--- new/src/share/vm/prims/methodHandleWalk.hpp	Thu Jan  7 15:24:29 2010

*** 402,407 **** --- 402,413 ---- public: MethodHandleCompiler(Handle root, methodHandle call_method, bool for_invokedynamic, TRAPS); // Compile the given MH chain into bytecode. methodHandle compile(TRAPS); + + // Tests if the given class is a MH adapter holder. + static bool klass_is_method_handle_adapter_holder(klassOop klass) { + return (klass == SystemDictionary::MethodHandle_klass() || + klass == SystemDictionary::InvokeDynamic_klass()); + } };

src/share/vm/prims/methodHandleWalk.hpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File