Implicit declaration of resources in try statement

konstantin barzilovich konstantin.barzilovich at
Wed Mar 25 14:44:15 UTC 2015

Hello, Jan

Would you please clarify, what does it mean to declare resource of try 
statement implicitly.
As I understand, explicit declaration is:

try (AutoCloseable ac = new AutoCloseable()) {}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the compiler-dev mailing list