@@ -251,11 +251,11 @@ jvmtiAddrLocationMap* map = NULL; jint map_length = 0; // Generate line numbers using PcDesc and ScopeDesc info - methodHandle mh(nm->method()); + methodHandle mh(Thread::current(), nm->method()); if (!mh->is_native()) { PcDesc *pcd; int pcds_in_method;