]> source.dussan.org Git - aspectj.git/commitdiff
test and fix for 172107
authoraclement <aclement>
Mon, 21 May 2007 12:06:01 +0000 (12:06 +0000)
committeraclement <aclement>
Mon, 21 May 2007 12:06:01 +0000 (12:06 +0000)
tests/src/org/aspectj/systemtest/ajc160/Ajc160Tests.java
tests/src/org/aspectj/systemtest/ajc160/ajc160.xml

index fc816e0b902f443e74b4836c3bd99a42886c4c23..08a701c950b3d22814ed40435c5cc6082bbddc82 100644 (file)
@@ -143,6 +143,8 @@ public class Ajc160Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
                runTest("Suppress warnings2");
        }
  
+  public void testNullReturnedFromGetField_pr172107() { runTest("null returned from getField()"); }
+       
   /////////////////////////////////////////
   public static Test suite() {
     return XMLBasedAjcTestCase.loadSuite(Ajc160Tests.class);
index 229027f5f0bacd401026fb336107301565f22bf0..8fb99f26f8e86fc15c05c7a2e3d91c9984da98ea 100644 (file)
         </run>
     </ajc-test>
     
+    <ajc-test dir="bugs160/pr172107" title="null returned from getField()"
+               keywords="pr172107">
+        <compile files="ReadWriteAJBug172107.java,Instrumentation.aj"/>
+               <run class="ReadWriteAJBug172107"/>
+    </ajc-test>
     
  <!-- second section - need a 1.6 vm -->