--- JavaCompilerHelper.java 2004-02-25 09:35:12.000000000 +0000 +++ jaxrpc-si/src/com/sun/xml/rpc/util/JavaCompilerHelper.java 2004-03-23 14:42:08.000000000 +0000 @@ -39,6 +39,9 @@ protected boolean internalCompile(String[] args) { ClassLoader cl = Thread.currentThread().getContextClassLoader(); + if(cl == null) { + cl = ClassLoader.getSystemClassLoader(); + } Class comSunToolsJavacMainClass = null; try { /* try to use the new compiler */