Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Watson2009-08-17 20:57:41 +0000
committerThomas Watson2009-08-17 20:57:41 +0000
commita39b4272a05e369e5fdc4dce3f35bde0e328c332 (patch)
tree6eb3a75acb761350a4c7bd14766c189b76611d49
parent728bb843149ed40bb9463579a1a743650841ae7c (diff)
downloadrt.equinox.framework-a39b4272a05e369e5fdc4dce3f35bde0e328c332.tar.gz
rt.equinox.framework-a39b4272a05e369e5fdc4dce3f35bde0e328c332.tar.xz
rt.equinox.framework-a39b4272a05e369e5fdc4dce3f35bde0e328c332.zip
Bug 286645 Fix for bug 155465 doesn't take security into account.R35x_v20090817
-rw-r--r--bundles/org.eclipse.osgi/defaultAdaptor/src/org/eclipse/osgi/baseadaptor/bundlefile/FileBundleEntry.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.osgi/defaultAdaptor/src/org/eclipse/osgi/baseadaptor/bundlefile/FileBundleEntry.java b/bundles/org.eclipse.osgi/defaultAdaptor/src/org/eclipse/osgi/baseadaptor/bundlefile/FileBundleEntry.java
index a4513c6a7..5c143adc5 100644
--- a/bundles/org.eclipse.osgi/defaultAdaptor/src/org/eclipse/osgi/baseadaptor/bundlefile/FileBundleEntry.java
+++ b/bundles/org.eclipse.osgi/defaultAdaptor/src/org/eclipse/osgi/baseadaptor/bundlefile/FileBundleEntry.java
@@ -38,7 +38,7 @@ public class FileBundleEntry extends BundleEntry {
FileBundleEntry(File file, String name) {
this.file = file;
boolean endsInSlash = name.length() > 0 && name.charAt(name.length() - 1) == '/';
- if (file.isDirectory()) {
+ if (BundleFile.secureAction.isDirectory(file)) {
if (!endsInSlash)
name += '/';
} else if (endsInSlash)

Back to the top