aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjhugunin <jhugunin>2002-12-17 19:44:56 +0000
committerjhugunin <jhugunin>2002-12-17 19:44:56 +0000
commit5016e1aed02883fb35e930ba6f98a29bd350503f (patch)
tree2084a152cd4856790b0a138d5ed85bf18a5e0a01
parenteddbb2567fdc715d0371e3b0c2563dadf5c6b034 (diff)
downloadaspectj-5016e1aed02883fb35e930ba6f98a29bd350503f.tar.gz
aspectj-5016e1aed02883fb35e930ba6f98a29bd350503f.zip
added comments and removed old warning
-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>