set flag AllPublic. static Class hotwireSharingClasses(S progID, Class... classesToShare) ctex { Pair p = CompilerBot.compileSnippet2(progID); File jar = p.a; assertTrue(f2s(jar), jar.isFile()); // collect files (program + libraries) L files = ll(jar); S dehlibs = unnull(loadTextFileFromZip(jar, "libraries")); L myLibraries = myLibraryFiles(); Matcher matcher = Pattern.compile("\\d+").matcher(dehlibs); while (matcher.find()) files.add(loadLibrary(matcher.group())); // make class loader JavaXClassLoaderWithParent2 classLoader = new(progID, files, myClassLoader(), map className(classesToShare)); ret hotwire_finish(classLoader, progID, p.b); }