Skip to content

Blocker Bug in FileUtil.java  #51

@catharinequintans

Description

@catharinequintans

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'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions