1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
// Regression test for PR java/16249. class PR16249 { static void bug(byte[] iCode, int pc) { while (pc < 100) { try { switch (iCode[pc] & 0xff) { case 666: iCode[++pc] = 1; } } catch (Throwable ex) { } } } }