diff options
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 |