hotspot/src/share/vm/classfile/javaClasses.hpp
changeset 4571 80b553bddc26
parent 4564 55dfb20908d0
child 5420 586d3988e72b
--- a/hotspot/src/share/vm/classfile/javaClasses.hpp	Tue Jan 05 11:16:09 2010 -0800
+++ b/hotspot/src/share/vm/classfile/javaClasses.hpp	Wed Jan 06 14:22:39 2010 -0800
@@ -111,7 +111,7 @@
 
   // Testers
   static bool is_instance(oop obj) {
-    return obj != NULL && obj->klass() == SystemDictionary::string_klass();
+    return obj != NULL && obj->klass() == SystemDictionary::String_klass();
   }
 
   // Debugging
@@ -161,7 +161,7 @@
   static void print_signature(oop java_class, outputStream *st);
   // Testing
   static bool is_instance(oop obj) {
-    return obj != NULL && obj->klass() == SystemDictionary::class_klass();
+    return obj != NULL && obj->klass() == SystemDictionary::Class_klass();
   }
   static bool is_primitive(oop java_class);
   static BasicType primitive_type(oop java_class);