BootClassLoader mistakenly overrides the 1-arg loadClassOrNull method instead of the 2-arg loadClassOrNull method. A class defined to the bootstrap class loader is intended to call JVM entry point to find such class rather than ClassLoader::defineClass method via the implementation-specific BootClassLoader instance. The patch is trivial; BootClassLoader overrides the two-arg loadClassOrNull instead.
Webrev at: http://cr.openjdk.java.net/~mchung/jdk13/webrevs/8218419/webrev.00 Thanks Mandy