diff options
author | aclement <aclement> | 2004-08-27 10:03:54 +0000 |
---|---|---|
committer | aclement <aclement> | 2004-08-27 10:03:54 +0000 |
commit | b5e6307a63b0513cb058e8d6e56ff87287bdfa15 (patch) | |
tree | 70b0ee884349a3ed4d54190eca286ed975106764 /tests/src/org/aspectj/systemtest/ajc121 | |
parent | bd5021a1dd1f070a4be9192beb4daece84d3c1a8 (diff) | |
download | aspectj-b5e6307a63b0513cb058e8d6e56ff87287bdfa15.tar.gz aspectj-b5e6307a63b0513cb058e8d6e56ff87287bdfa15.zip |
fix for Bugzilla Bug 72150
AJC possible bug with static nested classes
Diffstat (limited to 'tests/src/org/aspectj/systemtest/ajc121')
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc121/Ajc121Tests.java | 4 | ||||
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc121/ajc121-tests.xml | 6 |
2 files changed, 10 insertions, 0 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc121/Ajc121Tests.java b/tests/src/org/aspectj/systemtest/ajc121/Ajc121Tests.java index bdd752160..7c3e3a261 100644 --- a/tests/src/org/aspectj/systemtest/ajc121/Ajc121Tests.java +++ b/tests/src/org/aspectj/systemtest/ajc121/Ajc121Tests.java @@ -267,5 +267,9 @@ public class Ajc121Tests extends org.aspectj.testing.XMLBasedAjcTestCase { public void test050_typePatternMatchingWithArrays() { runTest("declare warning warns at wrong points"); } + + public void test051_arrayCloningInJava5() { + runTest("AJC possible bug with static nested classes"); + } } diff --git a/tests/src/org/aspectj/systemtest/ajc121/ajc121-tests.xml b/tests/src/org/aspectj/systemtest/ajc121/ajc121-tests.xml index edf21cf94..dd9664295 100644 --- a/tests/src/org/aspectj/systemtest/ajc121/ajc121-tests.xml +++ b/tests/src/org/aspectj/systemtest/ajc121/ajc121-tests.xml @@ -412,4 +412,10 @@ <message kind="warning" line="22" text="*[] returning method called"/> </compile> </ajc-test> + + <ajc-test dir="bugs/java5/arrayCloning" pr="72150" + title="AJC possible bug with static nested classes"> + <compile files="A.java" inpath="OneFiveCode.jar"/> + <!--run class="C"/--> + </ajc-test>
\ No newline at end of file |