Changeset: 58ceeff50af8 Author: mcimadamore Date: 2010-11-12 12:32 +0000 URL: http://hg.openjdk.java.net/jdk7/tl/langtools/rev/58ceeff50af8
6598108: com.sun.source.util.Trees.isAccessible incorrect Summary: JavacTrees' version of isAccessible should take into account enclosing class accessibility Reviewed-by: jjg ! src/share/classes/com/sun/tools/javac/api/JavacTrees.java ! src/share/classes/com/sun/tools/javac/comp/Resolve.java + test/tools/javac/api/6598108/T6598108.java Changeset: fdc67f5170e9 Author: mcimadamore Date: 2010-11-12 12:33 +0000 URL: http://hg.openjdk.java.net/jdk7/tl/langtools/rev/fdc67f5170e9 6999067: cast for invokeExact call gets redundant cast to <type> warnings Summary: Xlint:cast should not report cast used in order to specify target type in polymorphic signature calls Reviewed-by: jjg ! src/share/classes/com/sun/tools/javac/comp/Flow.java + test/tools/javac/meth/XlintWarn.java Changeset: 6a99b741a1b0 Author: mcimadamore Date: 2010-11-12 12:34 +0000 URL: http://hg.openjdk.java.net/jdk7/tl/langtools/rev/6a99b741a1b0 6970016: Clean up ARM/try-with-resources implementation Summary: changed Xlint option name from -Xlint:arm to -Xlint:try Reviewed-by: jjg ! src/share/classes/com/sun/tools/javac/code/Lint.java ! src/share/classes/com/sun/tools/javac/comp/Attr.java ! src/share/classes/com/sun/tools/javac/comp/Flow.java ! src/share/classes/com/sun/tools/javac/parser/JavacParser.java ! src/share/classes/com/sun/tools/javac/resources/compiler.properties - test/tools/javac/TryWithResources/ArmLint.java - test/tools/javac/TryWithResources/ArmLint.out ! test/tools/javac/TryWithResources/ImplicitFinal.out + test/tools/javac/TryWithResources/TwrLint.java + test/tools/javac/TryWithResources/TwrLint.out ! test/tools/javac/TryWithResources/TwrOnNonResource.out ! test/tools/javac/diags/examples/ResourceClosed.java ! test/tools/javac/diags/examples/ResourceMayNotBeAssigned.java ! test/tools/javac/diags/examples/ResourceNotApplicableToType.java ! test/tools/javac/diags/examples/ResourceNotReferenced.java ! test/tools/javac/diags/examples/TryResourceNotSupported.java