Kaydet (Commit) 521aebc1 authored tarafından Julien Nabet's avatar Julien Nabet

Change <file>.toURL() to <file>.toURI().toURL()

üst 427e56ea
......@@ -42,7 +42,7 @@ public final class NativeLibraryLoader_Test extends ComplexTestCase {
File subdir = new File(dir, "with space");
File file1 = new File(subdir, "file");
String fileUrl = dir.toURL().toString();
String fileUrl = dir.toURI().toURL().toString();
if (!fileUrl.endsWith("/")) {
fileUrl += "/";
}
......@@ -64,7 +64,7 @@ public final class NativeLibraryLoader_Test extends ComplexTestCase {
File subdir = new File(dir, "with space");
File file1 = new File(subdir, "file");
String fileUrl = dir.toURL().toString();
String fileUrl = dir.toURI().toURL().toString();
if (!fileUrl.endsWith("/")) {
fileUrl += "/";
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment