hg: jdk7/tl/langtools: 7023233: False positive for -Xlint:try with nested try with resources blocks

maurizio.cimadamore at oracle.com maurizio.cimadamore at oracle.com
Thu Mar 3 01:44:46 PST 2011


Changeset: e9b8fbb30f5a
Author:    mcimadamore
Date:      2011-03-03 09:43 +0000
URL:       http://hg.openjdk.java.net/jdk7/tl/langtools/rev/e9b8fbb30f5a

7023233: False positive for -Xlint:try with nested try with resources blocks
Summary: Wrong lint warning issued about unused resource when nested try-with-resource blocks are found
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/comp/Flow.java
+ test/tools/javac/TryWithResources/UnusedResourcesTest.java




More information about the compiler-dev mailing list