往BootstrapClassLoader添加jar包
//往类加载器bootstrapClassLoader添加 ClassLoader.loadClass()有效
instrumentation.appendToBootstrapClassLoaderSearch(new JarFile(filePath));
//往类加载器BootstrapClassPath添加 ClassLoader.getResource()有效。JDK11 不支持这种写法
sun.misc.Launcher.getBootstrapClassPath().addURL(new URL("file:"+filePath));