< prev index next > src/hotspot/share/cds/aotClassLocation.cpp
Print this page
AOTClassLocation const* AOTClassLocationConfig::class_location_at(int index) const {
return _class_locations->at(index);
}
int AOTClassLocationConfig::get_module_shared_path_index(Symbol* location) const {
+ if (location == nullptr) {
+ return 0; // Used by java/lang/reflect/Proxy$ProxyBuilder
+ }
+
if (location->starts_with("jrt:", 4)) {
assert(class_location_at(0)->is_modules_image(), "sanity");
return 0;
}
< prev index next >