@@ -1290,11 +1290,11 @@ // the class is from the -Xbootclasspath/a if (pkg_string == NULL || pkg_entry == NULL || pkg_entry->in_unnamed_module()) { assert(mod_entry == NULL || - mod_entry == loader_data->modules()->unnamed_module(), + mod_entry == loader_data->unnamed_module(), "the unnamed module is not defined in the classloader"); return true; } } return false;