aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ajcTests.xml
diff options
context:
space:
mode:
authoracolyer <acolyer>2004-07-28 15:13:09 +0000
committeracolyer <acolyer>2004-07-28 15:13:09 +0000
commit10c6de6fbc8a0b9eb07801f4ac19bea8304a9cb3 (patch)
treeb44260eba290558bdc43afb7e968b60990e96bd0 /tests/ajcTests.xml
parent573741c8081c6b6b45921cafaae39f37eede2302 (diff)
downloadaspectj-10c6de6fbc8a0b9eb07801f4ac19bea8304a9cb3.tar.gz
aspectj-10c6de6fbc8a0b9eb07801f4ac19bea8304a9cb3.zip
fix for Bugzilla Bug 48990
Special case if(false) to not require a dynamic test
Diffstat (limited to 'tests/ajcTests.xml')
-rw-r--r--tests/ajcTests.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/ajcTests.xml b/tests/ajcTests.xml
index f76405da3..96bdd14c5 100644
--- a/tests/ajcTests.xml
+++ b/tests/ajcTests.xml
@@ -7794,6 +7794,18 @@
text="void Subclass.nonstaticMethod() cannot override void Superclass.nonstaticMethod(); overriding method is static"/>
</compile>
</ajc-test>
+
+ <ajc-test dir="new"
+ title="if(false) optimisation" pr="48990">
+ <compile files="IfFalse.aj"/>
+ <run class="IfFalse"/>
+ </ajc-test>
+
+ <ajc-test dir="new"
+ title="if(true) optimisation" pr="48990">
+ <compile files="IfTrue.aj"/>
+ <run class="IfTrue"/>
+ </ajc-test>
<ajc-test dir="bugs/abstractITDs"
pr="64331" title="java.lang.NullPointerException in WeaverMessageHandler class">