diff options
Diffstat (limited to 'tests/bugs150/pr108050.aj')
-rw-r--r-- | tests/bugs150/pr108050.aj | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/tests/bugs150/pr108050.aj b/tests/bugs150/pr108050.aj new file mode 100644 index 000000000..5ad5d25cb --- /dev/null +++ b/tests/bugs150/pr108050.aj @@ -0,0 +1,30 @@ +class HttpServlet { + protected void doPost() { + } +} + +abstract class MockServlet extends HttpServlet { + protected void doPost() { + } + + private static aspect FindMatches { + declare warning: execution(* HttpServlet.do*(..)): "servlet request"; + } +} + +class MockDelayingServlet extends MockServlet { + private static final long serialVersionUID = 1; +} + +class MockServlet4 extends MockDelayingServlet +{ + protected void doPost() + { + } +} + + + + + + |