< prev index next >
src/hotspot/share/classfile/classListParser.cpp
Print this page
rev 49875 : [mq]: first.patch
*** 281,291 ****
// This #if condition should be in sync with the areCustomLoadersSupportedForCDS
// method in test/lib/jdk/test/lib/Platform.java.
error("AppCDS custom class loaders not supported on this platform");
#endif
- assert(UseAppCDS, "must be");
if (!is_super_specified()) {
error("If source location is specified, super class must be also specified");
}
if (!is_id_specified()) {
error("If source location is specified, id must be also specified");
--- 281,290 ----
*** 381,394 ****
}
}
} else {
// If "source:" tag is specified, all super class and super interfaces must be specified in the
// class list file.
- if (UseAppCDS) {
klass = load_class_from_source(class_name_symbol, CHECK_NULL);
}
- }
if (klass != NULL && klass->is_instance_klass() && is_id_specified()) {
InstanceKlass* ik = InstanceKlass::cast(klass);
int id = this->id();
SystemDictionaryShared::update_shared_entry(ik, id);
--- 380,391 ----
< prev index next >