I am using jalopy (jalopy-jbuilder-bundle-0.7.1.zip)
from within JBuilder 5.
when I run jalopy on the following peace of
code:
----------------------------------------
public void cleanUp() {
try {
userTx.commit();
if (userTx.getStatus() ==
ETransactionStatus.MARKED_ROLLBACK) {
flop("Should have thrown exception because
of setRollbackOnly()");
}
} // Should end up here if setRollbackOnly() has
been activated catch
(com.tssap.dtr.pvc.basics.transaction.MarkedRollba
ckException e) {}
catch (Exception e) {
flop("Failed comitting transaction");
}
}
----------------------------------------
the line "catch (Exception e) ..." and the preceeding
line containing a single line comment are combined
in one line.
This leads to non compileable code because now
the catch statement has moved into a comment
my configuration
Logged In: YES
user_id=44430
Duplicates #562034. Will be fixed with the next beta.
Workaround: use C brace style