aboutsummaryrefslogtreecommitdiffstats
path: root/org.aspectj.ajdt.core
diff options
context:
space:
mode:
authorjhugunin <jhugunin>2003-05-01 18:48:06 +0000
committerjhugunin <jhugunin>2003-05-01 18:48:06 +0000
commit7e47f0f2fa4e805f11a67f953aeeeb3e959fcc3d (patch)
treea5923ed58bf1ca29a096b494d19d8742cec8dc0c /org.aspectj.ajdt.core
parentaaca8abb5e65355985f4cbef492d7e5e8272a1c7 (diff)
downloadaspectj-7e47f0f2fa4e805f11a67f953aeeeb3e959fcc3d.tar.gz
aspectj-7e47f0f2fa4e805f11a67f953aeeeb3e959fcc3d.zip
added test that deprecation warnings are not shown unless asked for
modifying option setting to make that test pass
Diffstat (limited to 'org.aspectj.ajdt.core')
-rw-r--r--org.aspectj.ajdt.core/src/org/aspectj/ajdt/ajc/BuildArgParser.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/ajc/BuildArgParser.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/ajc/BuildArgParser.java
index 8d387a99d..6955b4744 100644
--- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/ajc/BuildArgParser.java
+++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/ajc/BuildArgParser.java
@@ -116,7 +116,9 @@ public class BuildArgParser extends Main {
}
List javaArgList = parser.getUnparsedArgs();
- javaArgList.add("-warn:deprecation"); //!!! need to make this more flexible
+ // disable all special eclipse warnings by default
+ //??? might want to instead override getDefaultOptions()
+ javaArgList.add(0, "-warn:none");
if (javaArgList.size() != 0) {
super.configure((String[])javaArgList.toArray(new String[javaArgList.size()]));
}