--- /dev/null
+public class BrokenSwitch {
+ public static void main(String []argv) {
+ int i = 1;
+ switch (i) {
+ case -845341380: System.err.println("a");break;
+ case 1730110032: System.err.println("a");break;
+ default: System.err.println("c");break;
+ }
+ }
+}
+
+aspect X {
+ before(): execution(* BrokenSwitch.main(..)) {}
+}
public void testBadDecp_pr110788_3() { runTest("bad generic decp - 3");}
public void testBadDecp_pr110788_4() { runTest("bad generic decp - 4");}
+ public void testBrokenSwitch_pr117854() { runTest("broken switch transform");}
public void testVarargsITD_pr110906() { runTest("ITD varargs problem");}
public void testBadRenderer_pr86903() { runTest("bcelrenderer bad");}
//public void testIllegalInitialization_pr118326_1() { runTest("illegal initialization - 1");}
<run class="Pr114054"/>
</ajc-test>
+ <ajc-test dir="bugs150/pr117854" pr="117854" title="broken switch transform">
+ <compile files="BrokenSwitch.java" options=""/>
+ <run class="BrokenSwitch"/>
+ </ajc-test>
+
<ajc-test dir="bugs150/pr118599" pr="118599" title="ambiguous method when binary weaving - 1">
<!-- separate compilation was failing -->
<compile files="Attributable.java" outjar="foo.jar" options="-1.5"/>