groovy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel.Sun" <realblue...@hotmail.com>
Subject Re: try-with-resources statement for Groovy 3
Date Fri, 04 Nov 2016 17:10:57 GMT
Hi Jochen,

      The basic try-with-resources will be wrapped by a block, so the test
cases can be put in a file, the r1 variables will not impact each
other(Reference 14.20.3.1. Basic try-with-resources
(https://docs.oracle.com/javase/specs/jls/se7/html/jls-14.html)). 

      And the nest version of test cases will be added later. Have I caught
your meaning?

      BTW, the try-with-resources test cases are all runnable. You can see
they are marked 'x'(e.g. TryWithResources_01*x*.groovy), which means
executable.

Cheers,
Daniel.Sun




--
View this message in context: http://groovy.329449.n5.nabble.com/try-with-resources-statement-for-Groovy-3-tp5736479p5736489.html
Sent from the Groovy Dev mailing list archive at Nabble.com.

Mime
View raw message