Skip to content

Commit 2683b1c

Browse files
committed
Fix
1 parent fc7cbc9 commit 2683b1c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -122,12 +122,12 @@ private ClassLoader getClassLoader()
122122
{
123123
if (isFileZserioExtension(file))
124124
{
125-
urlArray.add(new URL("file:" + file.getPath()));
125+
urlArray.add(new URI("file:" + file.getPath()).toURL());
126126
urlArray.addAll(getDependentJarsFromManifest(file));
127127
}
128128
}
129129
}
130-
catch (MalformedURLException excpt)
130+
catch (MalformedURLException | URISyntaxException excpt)
131131
{
132132
return currentClassLoader;
133133
}

0 commit comments

Comments
 (0)