I can't believe this hasn't been reported; but I've missed it if it has.
IDEA is flagging as a syntax error the break in the following code:
attempt: try {
// yada yada yada
if (somethingBadHappened) break attempt;
// yada yada yada
} finally {
// ...
}
The reported error is "Break outside switch or loop". Of course, a break
outside a loop or switch is perfectly legal in this context.
_______________________________________________
Eap-bugs mailing list
[EMAIL PROTECTED]
http://lists.jetbrains.com/mailman/listinfo/eap-bugs