hg: jdk7/tl/langtools: 7032633: javac -Xlint:all warns about flush() within try on an auto-closeable resource
maurizio.cimadamore at oracle.com
maurizio.cimadamore at oracle.com
Fri Apr 1 11:31:32 UTC 2011
Changeset: b945b846c979
Author: mcimadamore
Date: 2011-04-01 12:30 +0100
URL: http://hg.openjdk.java.net/jdk7/tl/langtools/rev/b945b846c979
7032633: javac -Xlint:all warns about flush() within try on an auto-closeable resource
Summary: missing name check before calling MethodSymbol.overrides causes wrong warnings to be issued
Reviewed-by: jjg
! src/share/classes/com/sun/tools/javac/comp/Attr.java
+ test/tools/javac/TryWithResources/T7032633.java
More information about the security-dev
mailing list