--- /dev/null
+package p1;
+
+import org.aspectj.lang.annotation.SuppressAjWarnings;
+
+@SuppressAjWarnings
+public aspect Foobar {
+ before(): execution(* *(..)) {}
+}
public class Ajc161Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
- // AspectJ1.6.1
+ // AspectJ1.6.1
+ public void testIgnoringTypeLevelSuppression_pr234933() { runTest("ignoring type level suppress");}
public void testDuplicateMethodSignature_pr223226_2() { runTest("duplicate method signature - 2"); }
public void testDuplicateMethodSignature_pr223226() { runTest("duplicate method signature"); }
public void testProtectedMethodsAroundAdvice_pr197719_2() { runTest("protected methods and around advice - again - 2");}
<!-- AspectJ v1.6.1 Tests -->
<suite>
+ <ajc-test dir="bugs161/pr234933" title="ignoring type level suppress">
+ <compile files="Foobar.java" options="-1.5 -Xlint:error"/>
+ </ajc-test>
+
<ajc-test dir="bugs161/pr223226" title="duplicate method signature - 2">
<compile files="AspectX.java BInterface.java FooInterface.java AspectXMarker.java Foo.java Test.java" options="-1.5"/>
<run class="Test"/>