diff options
-rw-r--r-- | jurt/test/com/sun/star/lib/util/NativeLibraryLoader_Test.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jurt/test/com/sun/star/lib/util/NativeLibraryLoader_Test.java b/jurt/test/com/sun/star/lib/util/NativeLibraryLoader_Test.java index fbb92f9b88ee..5afd769390fd 100644 --- a/jurt/test/com/sun/star/lib/util/NativeLibraryLoader_Test.java +++ b/jurt/test/com/sun/star/lib/util/NativeLibraryLoader_Test.java @@ -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 += "/"; } |