diff src/share/vm/graal/graalJavaAccess.cpp @ 5553:511612d1b5c1

Fix renamings in C++ part.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Sat, 09 Jun 2012 22:50:50 +0200
parents 319860ae697a
children e522a00b91aa
line wrap: on
line diff
--- a/src/share/vm/graal/graalJavaAccess.cpp	Sat Jun 09 21:50:02 2012 +0200
+++ b/src/share/vm/graal/graalJavaAccess.cpp	Sat Jun 09 22:50:50 2012 +0200
@@ -36,8 +36,9 @@
     tty->print_cr("symbol with name %s was not found in symbol table (klass=%s)", name, klass_oop->klass_part()->name()->as_C_string());
   }
 #endif
-  guarantee(name_symbol != NULL, "symbol not found - class layout changed?");
-  guarantee(signature_symbol != NULL, "symbol not found - class layout changed?");
+  if (name_symbol == NULL || signature_symbol == NULL) {
+    guarantee(false, err_msg("symbol not found - class layout of %s changed?", klass_oop->klass_part()->name()->as_C_string()));
+  }
 
   instanceKlass* ik = instanceKlass::cast(klass_oop);
   fieldDescriptor fd;