--- a/hotspot/src/share/vm/oops/instanceKlass.cpp Mon Apr 28 16:05:12 2014 -0700
+++ b/hotspot/src/share/vm/oops/instanceKlass.cpp Tue Apr 29 08:08:44 2014 +0200
@@ -2398,7 +2398,6 @@
// If this is an anonymous class, append a hash to make the name unique
if (is_anonymous()) {
- assert(EnableInvokeDynamic, "EnableInvokeDynamic was not set.");
intptr_t hash = (java_mirror() != NULL) ? java_mirror()->identity_hash() : 0;
sprintf(hash_buf, "/" UINTX_FORMAT, (uintx)hash);
hash_len = (int)strlen(hash_buf);