< prev index next >
src/hotspot/share/prims/unsafe.cpp
Print this page
@@ -846,16 +846,23 @@
}
ClassFileStream st(class_bytes, class_bytes_length, host_source, ClassFileStream::verify);
Symbol* no_class_name = NULL;
+ ClassLoadInfo cl_info(host_domain,
+ InstanceKlass::cast(host_klass),
+ cp_patches,
+ NULL, // dynamic_nest_host
+ Handle(), // classData
+ false, // is_hidden
+ false, // is_weak_hidden
+ false); // can_access_vm_annotations
+
Klass* anonk = SystemDictionary::parse_stream(no_class_name,
host_loader,
- host_domain,
&st,
- InstanceKlass::cast(host_klass),
- cp_patches,
+ cl_info,
CHECK_NULL);
if (anonk == NULL) {
return NULL;
}
< prev index next >