[ https://issues.apache.org/jira/browse/GROOVY-8657?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16520949#comment-16520949 ]
Paul King commented on GROOVY-8657: ----------------------------------- I removed it from the release notes for Groovy 3 > Resource variable is accessible from finally block > -------------------------------------------------- > > Key: GROOVY-8657 > URL: https://issues.apache.org/jira/browse/GROOVY-8657 > Project: Groovy > Issue Type: Bug > Affects Versions: 3.0.0-alpha-2 > Reporter: Daniil Ovchinnikov > Priority: Major > > FromĀ http://groovy-lang.org/releasenotes/groovy-3.0.html > {code:groovy} > try( > FromResource from = new FromResource("ARM was here!") > ToResource to = new ToResource() > ) { > to << from > } finally { > assert from.closed // should throw MissingPropertyException > assert to.closed > assert to.toString() == 'ARM was here!' > } > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)