summaryrefslogtreecommitdiff
path: root/sandbox
diff options
context:
space:
mode:
authorcdt <cdt@openoffice.org>2001-02-06 15:23:22 +0000
committercdt <cdt@openoffice.org>2001-02-06 15:23:22 +0000
commit8bb490c83002cfa541174ddbf6dddad3f4879d5d (patch)
treec9e1cd6e104780bb77c39feead18e17b9e172c6c /sandbox
parent6ab9ef80a05b2b762518a64497a6493708917bb6 (diff)
#82791# override the getCodeBase methode
Diffstat (limited to 'sandbox')
-rw-r--r--sandbox/com/sun/star/lib/sandbox/ClassContextImpl.java10
1 files changed, 8 insertions, 2 deletions
diff --git a/sandbox/com/sun/star/lib/sandbox/ClassContextImpl.java b/sandbox/com/sun/star/lib/sandbox/ClassContextImpl.java
index e3ead0cda301..3769ba155555 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.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: kr $ $Date: 2000-11-07 12:09:59 $
+ * last change: $Author: cdt $ $Date: 2001-02-06 16:23:22 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -117,6 +117,12 @@ final class ClassContextImpl extends ClassLoader implements ClassContext {
return codeBase;
}
+ // For OS/2
+ public URL getCodeBase()
+ {
+ return getBase();
+ }
+
public boolean hasThreadGroup() {
return threadGroup != null && !threadGroup.isDestroyed();
}