- private static URL makingmewanttokilljavac(File jar) {
- try {
- return(jar.toURI().toURL());
- } catch(MalformedURLException e) {
- throw(new RuntimeException(e));
- }
- }
-
- public JarContext(File jar) {
- this(new URLClassLoader(new URL[] {makingmewanttokilljavac(jar)}, JarContext.class.getClassLoader()), mangle(jar));
- }
-