summaryrefslogtreecommitdiff
path: root/odk/source
diff options
context:
space:
mode:
Diffstat (limited to 'odk/source')
-rw-r--r--odk/source/com/sun/star/lib/loader/Loader.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/odk/source/com/sun/star/lib/loader/Loader.java b/odk/source/com/sun/star/lib/loader/Loader.java
index c4ef7fee6e81..cc2242a9fe31 100644
--- a/odk/source/com/sun/star/lib/loader/Loader.java
+++ b/odk/source/com/sun/star/lib/loader/Loader.java
@@ -178,7 +178,7 @@ public final class Loader {
if ( fJuh.exists() ) {
URL[] clurls = new URL[1];
try {
- clurls[0] = fJuh.toURL();
+ clurls[0] = fJuh.toURI().toURL();
ClassLoader cl = new CustomURLClassLoader( clurls );
Class c = cl.loadClass(
"com.sun.star.comp.helper.UnoInfo" );
@@ -237,7 +237,7 @@ public final class Loader {
StringTokenizer tokens = new StringTokenizer( data, delimiter );
while ( tokens.hasMoreTokens() ) {
try {
- urls.add( new File( tokens.nextToken() ).toURL() );
+ urls.add( new File( tokens.nextToken() ).toURI().toURL() );
} catch ( MalformedURLException e ) {
// don't add this class path entry to the list of class loader
// URLs