diff options
author | aclement <aclement> | 2006-05-04 07:14:47 +0000 |
---|---|---|
committer | aclement <aclement> | 2006-05-04 07:14:47 +0000 |
commit | 5a01932b9dbdf81fe41e029fa56ede17364a2c2e (patch) | |
tree | a2991f73f2b496670e3de21f00538fbae9da891d /testing/src/org | |
parent | cb5dfe759852d4965c692934ed7e14c41f61b715 (diff) | |
download | aspectj-5a01932b9dbdf81fe41e029fa56ede17364a2c2e.tar.gz aspectj-5a01932b9dbdf81fe41e029fa56ede17364a2c2e.zip |
fixes for 137235 (contributed by Ron): more intelligent logic for determining if a path entry is a jar/zip (don't just rely on suffix, some new .bndl files seem to be becoming popular...)
Diffstat (limited to 'testing/src/org')
-rw-r--r-- | testing/src/org/aspectj/testing/harness/bridge/Sandbox.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/src/org/aspectj/testing/harness/bridge/Sandbox.java b/testing/src/org/aspectj/testing/harness/bridge/Sandbox.java index 9388cf84e..c72d09285 100644 --- a/testing/src/org/aspectj/testing/harness/bridge/Sandbox.java +++ b/testing/src/org/aspectj/testing/harness/bridge/Sandbox.java @@ -510,7 +510,7 @@ public class Sandbox { int len = (null == paths ? 0 : paths.length); for (int j = 0; j < len; j++) { File f = paths[j]; - if (FileUtil.hasZipSuffix(f) && (!readable || f.canRead())) { + if (FileUtil.isZipFile(f) && (!readable || f.canRead())) { result.add(f); } } |