summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoracolyer <acolyer>2006-06-19 17:28:42 +0000
committeracolyer <acolyer>2006-06-19 17:28:42 +0000
commit32167a810d4b31bfd5056b9db4c15cd4b6f682ee (patch)
tree4ecd39fe91731bc8244b0130379aa94a9c6c3afa
parent11645343f9083c8f0b6d7ed73b3124ba857d0051 (diff)
downloadaspectj-32167a810d4b31bfd5056b9db4c15cd4b6f682ee.tar.gz
aspectj-32167a810d4b31bfd5056b9db4c15cd4b6f682ee.zip
make the default warning level for my beautiful "warnOnSwallowedExceptions" be "ignore"
-rw-r--r--tests/src/org/aspectj/systemtest/ajc121/ajc121-tests.xml2
-rw-r--r--tests/src/org/aspectj/systemtest/ajc150/ajc150.xml2
-rw-r--r--tests/src/org/aspectj/systemtest/ajc151/ajc151.xml4
-rw-r--r--tests/src/org/aspectj/systemtest/design/designtest.xml1
-rw-r--r--tests/src/org/aspectj/systemtest/pre10x/pre10x-tests.xml1
-rw-r--r--weaver/src/org/aspectj/weaver/XlintDefault.properties2
6 files changed, 3 insertions, 9 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc121/ajc121-tests.xml b/tests/src/org/aspectj/systemtest/ajc121/ajc121-tests.xml
index 681f033c7..54f604703 100644
--- a/tests/src/org/aspectj/systemtest/ajc121/ajc121-tests.xml
+++ b/tests/src/org/aspectj/systemtest/ajc121/ajc121-tests.xml
@@ -348,8 +348,6 @@
<message kind="error" line="10" text="The method ancientJ() from the type AncientFoo is not visible"/>
<message kind="error" line="11" text="The method clone() from the type Object is not visible"/>
<message kind="error" line="12" text="Cannot make a static reference to the non-static method clone() from the type Object"/>
- <message kind="warning" line="14" text="Exception swallowed in catch block"/>
- <message kind="warning" line="29" text="Exception swallowed in catch block"/>
</compile>
</ajc-test>
diff --git a/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml b/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml
index bd8234389..091042fae 100644
--- a/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml
+++ b/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml
@@ -51,8 +51,6 @@
<message kind="warning" line="17" text="aa * *(..) throws Exception"/>
<message kind="warning" line="37" text="aa call void m() throws Exception"/>
<message kind="warning" line="38" text="aa call void m() throws Exception"/>
- <message kind="warning" line="37" text="Exception swallowed in catch block"/>
- <message kind="warning" line="38" text="Exception swallowed in catch block"/>
</compile>
<run class="pr119749">
<stdout>
diff --git a/tests/src/org/aspectj/systemtest/ajc151/ajc151.xml b/tests/src/org/aspectj/systemtest/ajc151/ajc151.xml
index 160aab9e3..caac4da14 100644
--- a/tests/src/org/aspectj/systemtest/ajc151/ajc151.xml
+++ b/tests/src/org/aspectj/systemtest/ajc151/ajc151.xml
@@ -424,13 +424,13 @@
</ajc-test>
<ajc-test dir="features151/swallowedExceptions" title="swallowed exceptions">
- <compile files="SwallowedException.java">
+ <compile files="SwallowedException.java" options="-Xlint:warning">
<message kind="warning" line="11" text="Exception swallowed in catch block"/>
</compile>
</ajc-test>
<ajc-test dir="features151/swallowedExceptions" title="swallowed exceptions with xlint">
- <compile files="SwallowedException.java" options="-Xlint:ignore">
+ <compile files="SwallowedException.java">
</compile>
</ajc-test>
</suite> \ No newline at end of file
diff --git a/tests/src/org/aspectj/systemtest/design/designtest.xml b/tests/src/org/aspectj/systemtest/design/designtest.xml
index 349bbf464..d3b70d9ec 100644
--- a/tests/src/org/aspectj/systemtest/design/designtest.xml
+++ b/tests/src/org/aspectj/systemtest/design/designtest.xml
@@ -52,7 +52,6 @@
<ajc-test dir="design/intro"
title="declared exceptions are checked correctly on intros">
<compile files="ExceptionsCP.java">
- <message kind="warning" line="10" text="Exception swallowed in catch block"/>
</compile>
<run class="ExceptionsCP"/>
</ajc-test>
diff --git a/tests/src/org/aspectj/systemtest/pre10x/pre10x-tests.xml b/tests/src/org/aspectj/systemtest/pre10x/pre10x-tests.xml
index 0dbdce7bd..4d4cb999d 100644
--- a/tests/src/org/aspectj/systemtest/pre10x/pre10x-tests.xml
+++ b/tests/src/org/aspectj/systemtest/pre10x/pre10x-tests.xml
@@ -531,7 +531,6 @@
<compile files="UndeclaredThrows.java">
<message kind="error" line="12"/>
<message kind="error" line="18"/>
- <message kind="warning" line="18" text="Exception swallowed in catch block"/>
</compile>
</ajc-test>
diff --git a/weaver/src/org/aspectj/weaver/XlintDefault.properties b/weaver/src/org/aspectj/weaver/XlintDefault.properties
index 70063a74e..d1d0776df 100644
--- a/weaver/src/org/aspectj/weaver/XlintDefault.properties
+++ b/weaver/src/org/aspectj/weaver/XlintDefault.properties
@@ -39,5 +39,5 @@ cantFindType = error
cantFindTypeAffectingJPMatch = warning
unorderedAdviceAtShadow=ignore
-swallowedExceptionInCatchBlock=warning
+swallowedExceptionInCatchBlock=ignore
calculatingSerialVersionUID=ignore \ No newline at end of file