--- a/src/hotspot/share/classfile/klassFactory.cpp Wed Oct 11 17:11:28 2017 -0700
+++ b/src/hotspot/share/classfile/klassFactory.cpp Thu Oct 19 19:23:48 2017 -0700
@@ -223,8 +223,8 @@
result->set_cached_class_file(cached_class_file);
}
- if (InstanceKlass::should_store_fingerprint()) {
- result->store_fingerprint(!result->is_anonymous() ? stream->compute_fingerprint() : 0);
+ if (result->should_store_fingerprint()) {
+ result->store_fingerprint(stream->compute_fingerprint());
}
TRACE_KLASS_CREATION(result, parser, THREAD);