< prev index next >

test/compiler/c2/Test6357214.java

Print this page

        

*** 25,39 **** /** * @test * @bug 6357214 * @summary Hotspot server compiler gets integer comparison wrong * ! * @run main/othervm/timeout=60 -DshowAll=ffo -DeventID=444 Test6357214 */ // The test hangs after few iterations before the fix. So it fails if timeout. ! class MyResult { public boolean next() { return true; } public String getString(String in) { --- 25,42 ---- /** * @test * @bug 6357214 * @summary Hotspot server compiler gets integer comparison wrong * ! * @run main/othervm/timeout=60 -DshowAll=ffo -DeventID=444 compiler.c2.Test6357214 */ + package compiler.c2; + // The test hangs after few iterations before the fix. So it fails if timeout. ! public class Test6357214 { ! static class MyResult { public boolean next() { return true; } public String getString(String in) {
*** 61,73 **** j=32; } } return arr; } ! } - public class Test6357214 { public static volatile boolean bollocks = true; public String create(String context) throws Exception { // // Extract HTTP parameters --- 64,75 ---- j=32; } } return arr; } ! } public static volatile boolean bollocks = true; public String create(String context) throws Exception { // // Extract HTTP parameters
< prev index next >