From: wisberg Date: Sun, 25 May 2003 19:23:41 +0000 (+0000) Subject: fixing 2 bugs disclosed by running ajcTests.xml with -ajctaskCompiler: (1) compliance... X-Git-Tag: V1_1_0~65 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=995364f04e270121b0b1c229e6047c7b2823f3b3;p=aspectj.git fixing 2 bugs disclosed by running ajcTests.xml with -ajctaskCompiler: (1) compliance set incorrectly (-1.3 instead of 1.4) and (2) warn:... form was ignored. These would break only when running from a Javac compiler adapter and using --- diff --git a/build/src/org/aspectj/internal/tools/build/Module.java b/build/src/org/aspectj/internal/tools/build/Module.java index 4233bf1c9..d2556782e 100644 --- a/build/src/org/aspectj/internal/tools/build/Module.java +++ b/build/src/org/aspectj/internal/tools/build/Module.java @@ -94,7 +94,6 @@ public class Module { private static void doFindKnownJarAntecedants(Module module, ArrayList known) { Util.iaxIfNull(module, "module"); Util.iaxIfNull(known, "known"); - for (Iterator iter = module.getLibJars().iterator(); iter.hasNext();) { File libJar = (File) iter.next(); if (!skipLibraryJarAntecedant(module, libJar) @@ -393,7 +392,8 @@ public class Module { required.add(req); return true; } else { - messager.error("unable to create required module: " + moduleName); + messager.error("update unable to create required module: " + + moduleName); } } else { // src dir String fullPath = getFullPath(path);