--- a/src/hotspot/share/classfile/javaClasses.cpp Mon Aug 20 10:04:00 2018 +0200
+++ b/src/hotspot/share/classfile/javaClasses.cpp Mon Aug 20 08:25:57 2018 -0400
@@ -3786,7 +3786,7 @@
}
oop new_resolved_method = k->allocate_instance(CHECK_NULL);
new_resolved_method->address_field_put(_vmtarget_offset, (address)m());
- // Add a reference to the loader (actually mirror because anonymous classes will not have
+ // Add a reference to the loader (actually mirror because unsafe anonymous classes will not have
// distinct loaders) to ensure the metadata is kept alive.
// This mirror may be different than the one in clazz field.
new_resolved_method->obj_field_put(_vmholder_offset, m->method_holder()->java_mirror());