summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKay Ramme <kr@openoffice.org>2001-03-13 08:29:37 +0000
committerKay Ramme <kr@openoffice.org>2001-03-13 08:29:37 +0000
commita38d233414dc452979c2eef082f1db57a4d4ed03 (patch)
tree9d7268f6b5b2862c43d82a5e251e9eda780e0c28
parentea4eb5d1de825a5c1224e5f7eb9fd6a0542e66d4 (diff)
get MANIFEST relative to jar files (#84787#)
-rw-r--r--jurt/com/sun/star/comp/loader/RegistrationClassFinder.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/jurt/com/sun/star/comp/loader/RegistrationClassFinder.java b/jurt/com/sun/star/comp/loader/RegistrationClassFinder.java
index 3a59c9e0145f..cbf045782743 100644
--- a/jurt/com/sun/star/comp/loader/RegistrationClassFinder.java
+++ b/jurt/com/sun/star/comp/loader/RegistrationClassFinder.java
@@ -2,9 +2,9 @@
*
* $RCSfile: RegistrationClassFinder.java,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: dbo $ $Date: 2000-11-16 09:09:13 $
+ * last change: $Author: kr $ $Date: 2001-03-13 09:29:37 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -83,7 +83,7 @@ public class RegistrationClassFinder {
if(locationUrl.endsWith(".jar")) {
m_context = ClassContextProxy.create(new java.net.URL(m_locationUrl), null, null);
- m_manifest = locationUrl.substring(0, locationUrl.lastIndexOf('/') + 1) + "META-INF/MANIFEST.MF";
+ m_manifest = locationUrl + "/META-INF/MANIFEST.MF";
}
}