<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>
<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>
</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
<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>
<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>
cantFindTypeAffectingJPMatch = warning
unorderedAdviceAtShadow=ignore
-swallowedExceptionInCatchBlock=warning
+swallowedExceptionInCatchBlock=ignore
calculatingSerialVersionUID=ignore
\ No newline at end of file