equal
deleted
inserted
replaced
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 |