diff options
-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 { |