hg: jdk9/dev/langtools: 6707032: Division by zero warning not suppressed properly in some cases
jan.lahoda at oracle.com
jan.lahoda at oracle.com
Mon Jun 30 15:09:55 UTC 2014
Changeset: eb1989ca0494
Author: jlahoda
Date: 2014-06-30 17:08 +0200
URL: http://hg.openjdk.java.net/jdk9/dev/langtools/rev/eb1989ca0494
6707032: Division by zero warning not suppressed properly in some cases
Summary: Delay reporting of the division by zero warning until annotations are resolved, so that @SuppressWarnings works correctly.
Reviewed-by: vromero
! src/share/classes/com/sun/tools/javac/comp/Check.java
+ test/tools/javac/warnings/suppress/T6707032.java
+ test/tools/javac/warnings/suppress/T6707032.out
! test/tools/javac/warnings/suppress/VerifySuppressWarnings.java
More information about the jdk9-dev-changes
mailing list