Migrate to IDEA 130.1225

Fix the class loader to generate proper resource URLs:
we used to have "!" as a JAR separator, but the correct one is "!/", according to the docs here: http://docs.oracle.com/javase/6/docs/api/java/net/JarURLConnection.html
This commit is contained in:
Andrey Breslav
2013-07-23 17:34:33 +04:00
parent c1318c2f72
commit 33efbc3e91
2 changed files with 3 additions and 3 deletions
@@ -191,7 +191,7 @@ public class ClassPreloadingUtils {
public URL getURL() {
try {
String path = "file:" + jarFile + "!" + resourceName;
String path = "file:" + jarFile + "!/" + resourceName;
return new URL("jar", null, 0, path, new URLStreamHandler() {
@Override
protected URLConnection openConnection(URL u) throws IOException {