--- old/src/hotspot/share/classfile/classLoader.cpp 2018-04-08 23:07:21.967786888 -0700 +++ new/src/hotspot/share/classfile/classLoader.cpp 2018-04-08 23:07:21.705762197 -0700 @@ -1625,7 +1625,7 @@ break; } else { if ((i >= 1) && - (i < ClassLoaderExt::app_module_paths_start_index())) { + (i < ClassLoaderExt::app_class_paths_start_index())) { // The class must be from -Xbootclasspath/a assert(loader == NULL, "sanity"); classpath_index = i;