private void rethrowIfJep320Class(final String className, final ClassNotFoundException ex) throws ClassNotFoundException {
        final int lastDotIndex = className.lastIndexOf('.');
        if (lastDotIndex != -1) {  // Found
            final String packageName = className.substring(0, lastDotIndex);
            if (JEP_320_PACKAGES.contains(packageName)) {
                throw new ClassNotFoundException(
                        "A plugin tried to load " + className + " with the parent ClassLoader. "
                        + "It is removed from JDK by JEP 320. The plugin needs to include it on the plugin side. "
                        + "See https://github.com/embulk/embulk/issues/1270 for more details.",
                        ex);
            }
        }
    }
Loads the class with the specified binary name, forcibly in this {@code PluginClassLoader}, never in the parent class loader.

@param name  The binary name of the class
@param resolve  If true then resolve the class
@return The resulting Class object
@throws ClassNotFoundException  If the class could not be found

@deprecated Do not use this method. This method is only for internal use by Embulk's own testing framework.
embulk-core/src/main/java/org/embulk/plugin/PluginClassLoader.java