8231431: JAOTC issues with JAR path containing spaces
Reviewed-by: kvn
This commit is contained in:
parent
8c647801fc
commit
68937e9b9f
@ -59,7 +59,7 @@ public class FileSupport {
|
||||
try {
|
||||
String name = path.toAbsolutePath().toString();
|
||||
name = name.replace('\\', '/');
|
||||
return new URI("jar:file:///" + name + "!/");
|
||||
return new URI("jar:file", null, "///" + name + "!/", null);
|
||||
} catch (URISyntaxException e) {
|
||||
throw new InternalError(e);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user