# HG changeset patch # User Jaroslav Tulach # Date 1426014517 -3600 # Node ID c186877cc85a014329880375c97c77e1d99c997f # Parent 18ae4fbcfb8756deb805888cb9e03d06c5066c6a Report the classpath when InterruptedException cannot be found diff -r 18ae4fbcfb87 -r c186877cc85a launcher/http/src/main/java/org/apidesign/bck2brwsr/launcher/CompileCP.java --- a/launcher/http/src/main/java/org/apidesign/bck2brwsr/launcher/CompileCP.java Tue Mar 10 19:55:52 2015 +0100 +++ b/launcher/http/src/main/java/org/apidesign/bck2brwsr/launcher/CompileCP.java Tue Mar 10 20:08:37 2015 +0100 @@ -92,6 +92,9 @@ final Bck2Brwsr rt; try { URL u = r.get(InterruptedException.class.getName().replace('.', '/') + ".class", 0); + if (u == null) { + throw new IOException("Cannot find InterruptedException class on classpath: " + System.getProperty("java.class.path")); + } JarURLConnection juc = (JarURLConnection)u.openConnection(); rt = Bck2BrwsrJars.configureFrom(null, new File(juc.getJarFileURL().toURI())); } catch (URISyntaxException ex) {