Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blocker Bug in FileUtil.java #51

Open
catharinequintans opened this issue May 17, 2016 · 0 comments
Open

Blocker Bug in FileUtil.java #51

catharinequintans opened this issue May 17, 2016 · 0 comments
Labels
Milestone

Comments

@catharinequintans
Copy link
Contributor

return" statements should not occur in "finally" blocks.

This rule raises an issue when a jump statement (break, continue, return, throw, and goto) would force control flow to leave a finally block.

The finally block is always executed after everything else. It'll override the return statement present in 'try' or 'catch' blocks.

More information in 'Don't return in finally clause' and 'The Java Hall of #Shame'.

@tacianosilva tacianosilva added this to the M-1.4.0.4 milestone May 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants