langtools/test/tools/javac/TryWithResources/TwrForVariable2.out
author jlahoda
Wed, 19 Nov 2014 13:46:04 +0100
changeset 27844 8b5d79870a2f
child 34565 627464b87753
permissions -rw-r--r--
7196163: Project Coin: Allow effectively final variables to be used as resources in try-with-resources Summary: Allowing final variables as operands to try-with-resources; also reviewed by Sergei Pikalev. Reviewed-by: darcy, mcimadamore, vromero
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
27844
8b5d79870a2f 7196163: Project Coin: Allow effectively final variables to be used as resources in try-with-resources
jlahoda
parents:
diff changeset
     1
TwrForVariable2.java:12:21: compiler.err.expected: token.identifier
8b5d79870a2f 7196163: Project Coin: Allow effectively final variables to be used as resources in try-with-resources
jlahoda
parents:
diff changeset
     2
TwrForVariable2.java:15:27: compiler.err.expected: token.identifier
8b5d79870a2f 7196163: Project Coin: Allow effectively final variables to be used as resources in try-with-resources
jlahoda
parents:
diff changeset
     3
TwrForVariable2.java:18:16: compiler.err.illegal.start.of.expr
8b5d79870a2f 7196163: Project Coin: Allow effectively final variables to be used as resources in try-with-resources
jlahoda
parents:
diff changeset
     4
TwrForVariable2.java:21:14: compiler.err.try.with.resources.expr.needs.var
8b5d79870a2f 7196163: Project Coin: Allow effectively final variables to be used as resources in try-with-resources
jlahoda
parents:
diff changeset
     5
TwrForVariable2.java:24:16: compiler.err.try.with.resources.expr.needs.var
8b5d79870a2f 7196163: Project Coin: Allow effectively final variables to be used as resources in try-with-resources
jlahoda
parents:
diff changeset
     6
TwrForVariable2.java:27:31: compiler.err.try.with.resources.expr.needs.var
8b5d79870a2f 7196163: Project Coin: Allow effectively final variables to be used as resources in try-with-resources
jlahoda
parents:
diff changeset
     7
6 errors