Jan Lahoda a2b0a2413e 7196163: Project Coin: Allow effectively final variables to be used as resources in try-with-resources
Allowing final variables as operands to try-with-resources; also reviewed by Sergei Pikalev.

Reviewed-by: darcy, mcimadamore, vromero
2014-11-19 13:46:04 +01:00

8 lines
433 B
Plaintext

TwrForVariable2.java:12:21: compiler.err.expected: token.identifier
TwrForVariable2.java:15:27: compiler.err.expected: token.identifier
TwrForVariable2.java:18:16: compiler.err.illegal.start.of.expr
TwrForVariable2.java:21:14: compiler.err.try.with.resources.expr.needs.var
TwrForVariable2.java:24:16: compiler.err.try.with.resources.expr.needs.var
TwrForVariable2.java:27:31: compiler.err.try.with.resources.expr.needs.var
6 errors