Skip to content

Commit 68fbb85

Browse files
committed
Add exception message!
1 parent f2b6b93 commit 68fbb85

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

compiler/core/src/zserio/tools/ExtensionManager.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -123,13 +123,14 @@ private ClassLoader getClassLoader()
123123
System.out.println("Found file: " + file);
124124
if (isFileZserioExtension(file))
125125
{
126-
urlArray.add(new URI("file:" + file.getPath()).toURL());
126+
urlArray.add(new URI("jar:file:" + file.getPath() + "!/").toURL());
127127
urlArray.addAll(getDependentJarsFromManifest(file));
128128
}
129129
}
130130
}
131131
catch (MalformedURLException | URISyntaxException excpt)
132132
{
133+
System.out.println("Exception!");
133134
return currentClassLoader;
134135
}
135136

0 commit comments

Comments
 (0)