diff options
author | Thomas Watson | 2009-08-17 20:57:41 +0000 |
---|---|---|
committer | Thomas Watson | 2009-08-17 20:57:41 +0000 |
commit | a39b4272a05e369e5fdc4dce3f35bde0e328c332 (patch) | |
tree | 6eb3a75acb761350a4c7bd14766c189b76611d49 | |
parent | 728bb843149ed40bb9463579a1a743650841ae7c (diff) | |
download | rt.equinox.framework-a39b4272a05e369e5fdc4dce3f35bde0e328c332.tar.gz rt.equinox.framework-a39b4272a05e369e5fdc4dce3f35bde0e328c332.tar.xz rt.equinox.framework-a39b4272a05e369e5fdc4dce3f35bde0e328c332.zip |
-rw-r--r-- | bundles/org.eclipse.osgi/defaultAdaptor/src/org/eclipse/osgi/baseadaptor/bundlefile/FileBundleEntry.java | 2 |
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) |