src/hotspot/share/classfile/classFileParser.cpp
changeset 54257 21702e87efdf
parent 54042 6dd6f988b4e4
child 54335 d9f6d16299b1
child 54554 c171aa9e5d3e
equal deleted inserted replaced
54256:aa937fac07f3 54257:21702e87efdf
  6111         bool skip = false;
  6111         bool skip = false;
  6112         if (class_loader == NULL || SystemDictionary::is_platform_class_loader(class_loader)) {
  6112         if (class_loader == NULL || SystemDictionary::is_platform_class_loader(class_loader)) {
  6113           // For the boot and platform class loaders, skip classes that are not found in the
  6113           // For the boot and platform class loaders, skip classes that are not found in the
  6114           // java runtime image, such as those found in the --patch-module entries.
  6114           // java runtime image, such as those found in the --patch-module entries.
  6115           // These classes can't be loaded from the archive during runtime.
  6115           // These classes can't be loaded from the archive during runtime.
  6116           if (!ClassLoader::is_modules_image(stream->source()) && strncmp(stream->source(), "jrt:", 4) != 0) {
  6116           if (!stream->from_boot_loader_modules_image() && strncmp(stream->source(), "jrt:", 4) != 0) {
  6117             skip = true;
  6117             skip = true;
  6118           }
  6118           }
  6119 
  6119 
  6120           if (class_loader == NULL && ClassLoader::contains_append_entry(stream->source())) {
  6120           if (class_loader == NULL && ClassLoader::contains_append_entry(stream->source())) {
  6121             // .. but don't skip the boot classes that are loaded from -Xbootclasspath/a
  6121             // .. but don't skip the boot classes that are loaded from -Xbootclasspath/a