aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs
diff options
context:
space:
mode:
authorjhugunin <jhugunin>2004-01-12 10:18:18 +0000
committerjhugunin <jhugunin>2004-01-12 10:18:18 +0000
commitbba6c413e40539eca1b9c927e2212b8547a7c28f (patch)
tree52fd5f819c9489d28a65072ab3cf2a99020ee0be /tests/bugs
parent7a8f6a13c0facb82d59f381042be6b31eb60cc53 (diff)
downloadaspectj-bba6c413e40539eca1b9c927e2212b8547a7c28f.tar.gz
aspectj-bba6c413e40539eca1b9c927e2212b8547a7c28f.zip
Fix for Bugzilla Bug 46750
"declare soft" inside nested aspect does not work
Diffstat (limited to 'tests/bugs')
-rw-r--r--tests/bugs/TestSoftening.java20
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