I just spotted a change in 2.4.7 that inadvertently broke source code/contract compatibility. After 1 year it seems just as dangerous to revert as to leave. So I am creating this Jira to note the change and suggest a workaround. We'll change this issue if a better solution is found.
- If you are upgrading and are going to now only use Groovy 2.4.7 and above, just delete any catch statements catching IOException.
- If you have code that needs to work with old and new versions of Groovy and are checking for the IOException, change it to just Exception (and potentially move after other catch blocks) and check for IOException using instanceof if needed.