From 7e47f0f2fa4e805f11a67f953aeeeb3e959fcc3d Mon Sep 17 00:00:00 2001 From: jhugunin Date: Thu, 1 May 2003 18:48:06 +0000 Subject: [PATCH] added test that deprecation warnings are not shown unless asked for modifying option setting to make that test pass --- .../org/aspectj/ajdt/ajc/BuildArgParser.java | 4 +- tests/ajcTests.xml | 7 ++++ tests/jimTests.xml | 38 ++++++------------- 3 files changed, 21 insertions(+), 28 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()])); } diff --git a/tests/ajcTests.xml b/tests/ajcTests.xml index 8c4c21639..b7ad971d5 100644 --- a/tests/ajcTests.xml +++ b/tests/ajcTests.xml @@ -5198,6 +5198,13 @@ + + + + + diff --git a/tests/jimTests.xml b/tests/jimTests.xml index a7b32080d..c071015d0 100644 --- a/tests/jimTests.xml +++ b/tests/jimTests.xml @@ -1,32 +1,16 @@ - - - - + + + + - - - - + + + - - \ No newline at end of file -- 2.39.5