--- a/src/hotspot/share/classfile/classFileParser.cpp Sat Mar 23 17:18:49 2019 +0100
+++ b/src/hotspot/share/classfile/classFileParser.cpp Sat Mar 23 21:51:07 2019 -0700
@@ -6113,7 +6113,7 @@
// For the boot and platform class loaders, skip classes that are not found in the
// java runtime image, such as those found in the --patch-module entries.
// These classes can't be loaded from the archive during runtime.
- if (!ClassLoader::is_modules_image(stream->source()) && strncmp(stream->source(), "jrt:", 4) != 0) {
+ if (!stream->from_boot_loader_modules_image() && strncmp(stream->source(), "jrt:", 4) != 0) {
skip = true;
}