diff options
author | jhugunin <jhugunin> | 2004-01-12 10:18:18 +0000 |
---|---|---|
committer | jhugunin <jhugunin> | 2004-01-12 10:18:18 +0000 |
commit | bba6c413e40539eca1b9c927e2212b8547a7c28f (patch) | |
tree | 52fd5f819c9489d28a65072ab3cf2a99020ee0be /tests/bugs/TestSoftening.java | |
parent | 7a8f6a13c0facb82d59f381042be6b31eb60cc53 (diff) | |
download | aspectj-bba6c413e40539eca1b9c927e2212b8547a7c28f.tar.gz aspectj-bba6c413e40539eca1b9c927e2212b8547a7c28f.zip |
Fix for Bugzilla Bug 46750
"declare soft" inside nested aspect does not work
Diffstat (limited to 'tests/bugs/TestSoftening.java')
-rw-r--r-- | tests/bugs/TestSoftening.java | 20 |
1 files changed, 20 insertions, 0 deletions
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 |