diff options
author | aclement <aclement> | 2004-08-11 08:17:11 +0000 |
---|---|---|
committer | aclement <aclement> | 2004-08-11 08:17:11 +0000 |
commit | 065228643beb192e3214a032c2b62f90db4f8592 (patch) | |
tree | d554593680c6fff507adbf22e5c5c260eb48dc79 /tests/src | |
parent | 9d36a87c1f64a2c214cab2be16b2eda8b79cdf87 (diff) | |
download | aspectj-065228643beb192e3214a032c2b62f90db4f8592.tar.gz aspectj-065228643beb192e3214a032c2b62f90db4f8592.zip |
Tests for bug 65925. Already fixed !
Diffstat (limited to 'tests/src')
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc121/Ajc121Tests.java | 4 | ||||
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc121/ajc121-tests.xml | 15 |
2 files changed, 17 insertions, 2 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc121/Ajc121Tests.java b/tests/src/org/aspectj/systemtest/ajc121/Ajc121Tests.java index 7886c9eba..64d7937cf 100644 --- a/tests/src/org/aspectj/systemtest/ajc121/Ajc121Tests.java +++ b/tests/src/org/aspectj/systemtest/ajc121/Ajc121Tests.java @@ -153,5 +153,9 @@ public class Ajc121Tests extends org.aspectj.testing.XMLBasedAjcTestCase { // public void test028_itdsAndInitializers() { // runTest("resolution of IT field inits"); // } + + public void test029_falseInvalidAbsoluteTypeName() { + runTest("Valid but inaccessible type names should not be flagged by XLint:invalidAbsoluteTypeName"); + } } diff --git a/tests/src/org/aspectj/systemtest/ajc121/ajc121-tests.xml b/tests/src/org/aspectj/systemtest/ajc121/ajc121-tests.xml index 84df3ca97..38261858e 100644 --- a/tests/src/org/aspectj/systemtest/ajc121/ajc121-tests.xml +++ b/tests/src/org/aspectj/systemtest/ajc121/ajc121-tests.xml @@ -210,7 +210,7 @@ </compile> </ajc-test> - <ajc-test dir="bugs/oxford" pr="65319" + <ajc-test dir="bugs/oxford" pr="65319" title="ajc crashes when compiling the following program (binding this() and target())"> <compile files="PR65319.java"> <message kind="error" line="7" text="Cannot use target() to match at this"/> @@ -223,6 +223,7 @@ <message kind="error" line="15" text="Ambiguous binding of type Test"/> </compile> </ajc-test> + <!-- <ajc-test dir="bugs/oxford" pr="62475" title="resolution of IT field inits"> @@ -230,4 +231,14 @@ <message kind="error" line="14" /> </compile> </ajc-test> --->
\ No newline at end of file +--> + + <ajc-test + dir="bugs/invalidAbsoluteTypeName" + pr="65925" + title="Valid but inaccessible type names should not be flagged by XLint:invalidAbsoluteTypeName"> + <compile files="False_InvalidAbsoluteTypeName.java"> + <message kind="warning" line="17"/> + </compile> + <run class="False_InvalidAbsoluteTypeName"/> + </ajc-test> |