launcher/http/src/main/java/org/apidesign/bck2brwsr/launcher/CompileCP.java
changeset 1806 c186877cc85a
parent 1787 ea12a3bb4b33
child 1808 68c0229e193e
     1.1 --- a/launcher/http/src/main/java/org/apidesign/bck2brwsr/launcher/CompileCP.java	Tue Feb 24 11:12:53 2015 +0100
     1.2 +++ b/launcher/http/src/main/java/org/apidesign/bck2brwsr/launcher/CompileCP.java	Tue Mar 10 20:08:37 2015 +0100
     1.3 @@ -92,6 +92,9 @@
     1.4          final Bck2Brwsr rt;
     1.5          try {
     1.6              URL u = r.get(InterruptedException.class.getName().replace('.', '/') + ".class", 0);
     1.7 +            if (u == null) {
     1.8 +                throw new IOException("Cannot find InterruptedException class on classpath: " + System.getProperty("java.class.path"));
     1.9 +            }
    1.10              JarURLConnection juc = (JarURLConnection)u.openConnection();
    1.11              rt = Bck2BrwsrJars.configureFrom(null, new File(juc.getJarFileURL().toURI()));
    1.12          } catch (URISyntaxException ex) {