hotspot/src/share/vm/oops/klass.cpp
changeset 8883 5569135acca3
parent 8076 96d498ec7ae1
child 8921 14bfe81f2a9d
--- a/hotspot/src/share/vm/oops/klass.cpp	Thu Mar 31 00:27:08 2011 -0700
+++ b/hotspot/src/share/vm/oops/klass.cpp	Thu Mar 31 02:31:57 2011 -0700
@@ -500,7 +500,7 @@
   if (oop_is_instance()) {
     instanceKlass* ik = (instanceKlass*) this;
     if (ik->is_anonymous()) {
-      assert(AnonymousClasses, "");
+      assert(EnableInvokeDynamic, "");
       intptr_t hash = ik->java_mirror()->identity_hash();
       char     hash_buf[40];
       sprintf(hash_buf, "/" UINTX_FORMAT, (uintx)hash);