Incidently, if the code were:
| Connection c; // no initalizer
| try
| {
| c = allocateConnection();
| }
| catch (SQLException e)
| {
| }
| finally
| {
| c.close();
| }
|
Most good compilers will fail to compile it, because it will tell you that
c could be uninitalized in the finally block usage.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4021064#4021064
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4021064
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user