diff options
author | wisberg <wisberg> | 2005-10-15 03:20:41 +0000 |
---|---|---|
committer | wisberg <wisberg> | 2005-10-15 03:20:41 +0000 |
commit | 332a5df39711d17d13ef2c87fdaba023d4869538 (patch) | |
tree | 86aaf9097fffce7131cd5c265394e6daadcfd2c3 | |
parent | 8ec88f948efdf2ed576c4c286817a797f2e7be5b (diff) | |
download | aspectj-332a5df39711d17d13ef2c87fdaba023d4869538.tar.gz aspectj-332a5df39711d17d13ef2c87fdaba023d4869538.zip |
Fix 107299 (windows full but not absolute paths) by not prefixing files that exist (and don't need resolving). Tested locally, but unable to make a portable test. Will cause bugs for .lst-file-relative entries that match user-dir-local files.
-rw-r--r-- | util/src/org/aspectj/util/ConfigParser.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/src/org/aspectj/util/ConfigParser.java b/util/src/org/aspectj/util/ConfigParser.java index 4f4e0e2ba..81b9127e9 100644 --- a/util/src/org/aspectj/util/ConfigParser.java +++ b/util/src/org/aspectj/util/ConfigParser.java @@ -217,7 +217,7 @@ public class ConfigParser { private File makeFile(File dir, String name) { name = name.replace('/', File.separatorChar); File ret = new File(name); - if (dir != null && !ret.isAbsolute()) { + if (!ret.exists() && (dir != null) && !ret.isAbsolute()) { ret = new File(dir, name); } try { |