Make sure we return after running main in bootstrap
@@ -46,11 +46,13 @@ public static void main(String[] args) {
if (args.length == 0) {
runMain(classLoader, args);
+ return;
}
if ("--ext".equals(args[0])) {
if (args.length < 2) {
runMain(classLoader, args);
+ return;
}
ClassLoader parent = createExtendedClassLoader(args[1]);
