]> source.dussan.org Git - aspectj.git/commitdiff
added comments and removed old warning
authorjhugunin <jhugunin>
Tue, 17 Dec 2002 19:44:56 +0000 (19:44 +0000)
committerjhugunin <jhugunin>
Tue, 17 Dec 2002 19:44:56 +0000 (19:44 +0000)
tests/ajcTests.xml

index e7912bce2986e67248e80efb3472b01588134c6b..9b876328fe70ecf50d07a8a140ebe82a4948bfd8 100644 (file)
         <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"/>
       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>