1.1 --- a/src/share/vm/prims/jvmtiEnvBase.cpp Wed Dec 23 03:12:16 2009 -0800 1.2 +++ b/src/share/vm/prims/jvmtiEnvBase.cpp Wed Jan 06 22:21:39 2010 -0800 1.3 @@ -527,7 +527,7 @@ 1.4 JavaThread * 1.5 JvmtiEnvBase::get_JavaThread(jthread jni_thread) { 1.6 oop t = JNIHandles::resolve_external_guard(jni_thread); 1.7 - if (t == NULL || !t->is_a(SystemDictionary::thread_klass())) { 1.8 + if (t == NULL || !t->is_a(SystemDictionary::Thread_klass())) { 1.9 return NULL; 1.10 } 1.11 // The following returns NULL if the thread has not yet run or is in 1.12 @@ -1269,7 +1269,7 @@ 1.13 for (int i = 0; i < _thread_count; ++i) { 1.14 jthread jt = _thread_list[i]; 1.15 oop thread_oop = JNIHandles::resolve_external_guard(jt); 1.16 - if (thread_oop == NULL || !thread_oop->is_a(SystemDictionary::thread_klass())) { 1.17 + if (thread_oop == NULL || !thread_oop->is_a(SystemDictionary::Thread_klass())) { 1.18 set_result(JVMTI_ERROR_INVALID_THREAD); 1.19 return; 1.20 }