diff options
Diffstat (limited to 'sandbox/com/sun/star/lib')
-rw-r--r-- | sandbox/com/sun/star/lib/sandbox/ClassContextImpl.java | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/sandbox/com/sun/star/lib/sandbox/ClassContextImpl.java b/sandbox/com/sun/star/lib/sandbox/ClassContextImpl.java index 0674c0a0a1a8..bec06f0da74e 100644 --- a/sandbox/com/sun/star/lib/sandbox/ClassContextImpl.java +++ b/sandbox/com/sun/star/lib/sandbox/ClassContextImpl.java @@ -2,9 +2,9 @@ * * $RCSfile: ClassContextImpl.java,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: hr $ $Date: 2000-09-18 17:24:28 $ + * last change: $Author: cdt $ $Date: 2000-10-16 15:36:35 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -199,7 +199,11 @@ final class ClassContextImpl extends ClassLoader implements ClassContext { Class xClass = null; - + try { + xClass = Class.forName( className ); + } + catch(ClassNotFoundException en) + { try { xClass = findClass(className); } @@ -240,6 +244,7 @@ final class ClassContextImpl extends ClassLoader implements ClassContext { + " " + codeBase); } } + } if (xClass != null && resolve) resolveClass(xClass); |