From: jhugunin Date: Mon, 12 Jan 2004 10:18:18 +0000 (+0000) Subject: Fix for Bugzilla Bug 46750 X-Git-Tag: mostlyLastEclipse2xTree_20040112~3 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=bba6c413e40539eca1b9c927e2212b8547a7c28f;p=aspectj.git Fix for Bugzilla Bug 46750 "declare soft" inside nested aspect does not work --- diff --git a/tests/ajcTests.xml b/tests/ajcTests.xml index a3553d1fe..4df86dcec 100644 --- a/tests/ajcTests.xml +++ b/tests/ajcTests.xml @@ -6915,4 +6915,9 @@ + + + + + diff --git a/tests/bugs/TestSoftening.java b/tests/bugs/TestSoftening.java new file mode 100644 index 000000000..70d9fd357 --- /dev/null +++ b/tests/bugs/TestSoftening.java @@ -0,0 +1,20 @@ +//PR46750 +import java.rmi.RemoteException; + +public class TestSoftening { + + public static void main(String[] args) { + TestSoftening test = new TestSoftening(); + test.perform(); + } + + public void perform() throws RemoteException { + throw new RemoteException(); + } + + + static aspect SofteningTestAspect { + declare soft : RemoteException : call(void TestSoftening.perform()); + } + +} \ No newline at end of file