public strictfp class Semantics extends Exception { private static volatile transient boolean l = false; private transient volatile static short j = 1; public volatile static transient Exception LogicClass = new Semantics(); protected strictfp synchronized boolean WTF() throws Exception { again: do { l = !l; without: try { assert l ? true : LogicClass instanceof Semantics; continue; } catch (AssertionError e) { j++; LogicClass = new Exception(); break again; } finally { switch (j % 2) { case 0: LogicClass = this; break again; default: break without; } } } while (--j > -10 ? false : true); throw this; } public static void main(String[] args) { Semantics s = new Semantics(); try { System.out.println(s.WTF()); } catch (Exception e) { System.out.print(s.l); } } }