]> source.dussan.org Git - aspectj.git/commitdiff
Test for Bugzilla Bug 59440
authoraclement <aclement>
Fri, 23 Apr 2004 13:17:43 +0000 (13:17 +0000)
committeraclement <aclement>
Fri, 23 Apr 2004 13:17:43 +0000 (13:17 +0000)
   NPE when binary weaving a ctor ITD.

tests/ajcTests.xml
tests/bugs/CtorITD.aj [new file with mode: 0644]

index edeec03abacc034a184fa7e2f4accb235357175a..8588b59f327cba3bd43172451573f8885ac2e2dd 100644 (file)
           
         </compile>
     </ajc-test>
+    
+    <ajc-test dir="bugs"
+       pr="59440"
+               title="NPE when binary weaving a ctor ITD">
+        <compile files="CtorITD.aj">
+               <message kind="error" line="2"/>
+        </compile>
+    </ajc-test>
        
 </suite>
diff --git a/tests/bugs/CtorITD.aj b/tests/bugs/CtorITD.aj
new file mode 100644 (file)
index 0000000..fecd989
--- /dev/null
@@ -0,0 +1,3 @@
+aspect CtorITD {\r
+  private A.new(B b) {}\r
+}\r