"declare soft" inside nested aspect does not work
<message kind="warning" line="4" text="no match for this type name: SampleClass"/>
</compile>
</ajc-test>
+
+ <ajc-test dir="bugs" pr="46750" title="inner aspect containing declare soft">
+ <compile files="TestSoftening.java">
+ </compile>
+ </ajc-test>
</suite>
--- /dev/null
+//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