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.