summaryrefslogtreecommitdiffstats
path: root/tests/ajcTests.xml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ajcTests.xml')
-rw-r--r--tests/ajcTests.xml9
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/ajcTests.xml b/tests/ajcTests.xml
index e7912bce2..9b876328f 100644
--- a/tests/ajcTests.xml
+++ b/tests/ajcTests.xml
@@ -3060,6 +3060,14 @@
<run class="ThrowsMatching"/>
</ajc-test>
+ <!-- we will handle this by signalling a weave-time error for any around
+ advice that is applied to a join point which throws checked exceptions
+ that it can't handle. proceeds in closures change the exceptions that
+ around advice can handle to include the greatest lower bound of the
+ checked exceptions that are legally throwable by the proceed.
+ Ideally their should be an -Xlint compile-time warning for ALL
+ cases that could produce weave-time errors.
+ -->
<ajc-test dir="new" title="holding onto proceed calls in a closure-like way"
keywords="from-resolved_10x">
<compile files="HoldProceed.java"/>
@@ -3538,7 +3546,6 @@
title="Priviledged aspect methods are missing for privates. [eachobject]"
keywords="from-resolved_10x">
<compile files="TheAspect.java,TheObject.java">
- <message kind="warning" line="7" text="TheAspect.java:7"/>
</compile>
<run class="TheObject"/>
</ajc-test>