From: aclement Date: Fri, 20 Aug 2004 13:26:14 +0000 (+0000) Subject: Fix for Bugzilla Bug 70794 X-Git-Tag: V1_2_1~102 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=8b550ad855b72b6eeb61f3ade30f383bf337a8e6;p=aspectj.git Fix for Bugzilla Bug 70794 The introduction on interface causes the interface implementation class error (testcase now expects the error text) --- diff --git a/tests/bugs/interAbstract/InterfaceMethodDeclarationAbstract.java b/tests/bugs/interAbstract/InterfaceMethodDeclarationAbstract.java index 7eb4abab4..efa4b84f6 100644 --- a/tests/bugs/interAbstract/InterfaceMethodDeclarationAbstract.java +++ b/tests/bugs/interAbstract/InterfaceMethodDeclarationAbstract.java @@ -29,7 +29,7 @@ public class InterfaceMethodDeclarationAbstract { interface I {} aspect A { - abstract int I.getInt(); // implicitly public + abstract int I.getInt(); // Error expected: Needs to be public before() : execution(int getInt()) && target(I) { Tester.event("before-execution"); } diff --git a/tests/src/org/aspectj/systemtest/ajc120/ajc120-tests.xml b/tests/src/org/aspectj/systemtest/ajc120/ajc120-tests.xml index dbdddd93e..4ab8eb355 100644 --- a/tests/src/org/aspectj/systemtest/ajc120/ajc120-tests.xml +++ b/tests/src/org/aspectj/systemtest/ajc120/ajc120-tests.xml @@ -145,7 +145,7 @@ pr="49784" title="aspect declares interface method (abstract)"> - +