Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Watson2013-05-23 16:11:43 +0000
committerThomas Watson2013-05-23 16:11:43 +0000
commit73ec1e3851d1b19bfad161421665bd9008a5176f (patch)
tree233c27c7083cd203033378b00ae6ef58fa12d536 /bundles/org.eclipse.osgi
parent78d7679c03f13152a1bf37b3bff08945d2b4e1c5 (diff)
downloadrt.equinox.framework-73ec1e3851d1b19bfad161421665bd9008a5176f.tar.gz
rt.equinox.framework-73ec1e3851d1b19bfad161421665bd9008a5176f.tar.xz
rt.equinox.framework-73ec1e3851d1b19bfad161421665bd9008a5176f.zip
Bug 408364 - [unity] cascaded storage area needs tests
- Fix to look in the right directory for parentRoot
Diffstat (limited to 'bundles/org.eclipse.osgi')
-rw-r--r--bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/storage/Storage.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/storage/Storage.java b/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/storage/Storage.java
index 40424ddaa..5614c2762 100644
--- a/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/storage/Storage.java
+++ b/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/storage/Storage.java
@@ -114,7 +114,7 @@ public class Storage {
this.childRoot.mkdirs();
}
Location parent = this.osgiLocation.getParentLocation();
- parentRoot = parent == null ? null : new File(osgiLocation.getURL().getFile(), EquinoxContainer.NAME);
+ parentRoot = parent == null ? null : new File(parent.getURL().getFile());
File frameworkInfo = getFile(FRAMEWORK_INFO, true);
DataInputStream in = null;

Back to the top