Mine
public java v1 · immutablepublic class Goto{ public static int END = Integer.MAX_VALUE; public static void main(String[] args) { int _goto = 0; GOTO: while(true) { switch(_goto) { case 0: case 1: { System.out.println("Foo"); _goto = 3; continue GOTO; } case 2: { System.out.println("Baz"); _goto = END; continue GOTO; } case 3: { System.out.println("Bar"); _goto = 2; continue GOTO; } } break; } }}