summaryrefslogtreecommitdiffstats
path: root/tests/src
diff options
context:
space:
mode:
authoraclement <aclement>2006-06-25 17:59:34 +0000
committeraclement <aclement>2006-06-25 17:59:34 +0000
commit045e82d5cebc9c9674ac71cffa3fefc34eeb042f (patch)
treebba884b14a0b6f445f04becfa3c35db83da27881 /tests/src
parentc9f311aeeb11fb1427ec8857c24cfe3ffa6c7c9d (diff)
downloadaspectj-045e82d5cebc9c9674ac71cffa3fefc34eeb042f.tar.gz
aspectj-045e82d5cebc9c9674ac71cffa3fefc34eeb042f.zip
testcode for 148536 and 148537
Diffstat (limited to 'tests/src')
-rw-r--r--tests/src/org/aspectj/systemtest/ajc152/ajc152.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc152/ajc152.xml b/tests/src/org/aspectj/systemtest/ajc152/ajc152.xml
index 87d466f62..aba07f7bc 100644
--- a/tests/src/org/aspectj/systemtest/ajc152/ajc152.xml
+++ b/tests/src/org/aspectj/systemtest/ajc152/ajc152.xml
@@ -102,6 +102,16 @@
<compile files="GenericType.java" options="-1.5"/>
<run class="GenericType"/>
</ajc-test>
+
+ <ajc-test dir="bugs152/pr148536" title="NPE for unknown annotation">
+ <compile files="Bug.java" options="-1.5">
+ <message kind="error" line="2" text="SomeAnnotation cannot be resolved to a type"/>
+ </compile>
+ </ajc-test>
+
+ <ajc-test dir="bugs152/pr148537" title="classcast annotation value">
+ <compile files="MyClass.java,MyAspect.java" options="-1.5"/>
+ </ajc-test>
<ajc-test dir="bugs152/pr145391" title="itd calling generic method - 2">
<compile files="GenericType2.java" options="-1.5"/>