hg: jdk9/dev/langtools: 8066843: Messager.printMessage cannot print multiple errors for same source position

jan.lahoda at oracle.com jan.lahoda at oracle.com
Tue Jan 13 18:15:10 UTC 2015


Changeset: 3e11383862ce
Author:    jlahoda
Date:      2015-01-13 19:13 +0100
URL:       http://hg.openjdk.java.net/jdk9/dev/langtools/rev/3e11383862ce

8066843: Messager.printMessage cannot print multiple errors for same source position
Summary: Using a DiagnosticFlag to mark diagnostics that should be always printed even if multiple of them have the same source position.
Reviewed-by: darcy, jjg, mcimadamore

! src/jdk.compiler/share/classes/com/sun/tools/doclint/resources/doclint.properties
! src/jdk.compiler/share/classes/com/sun/tools/javac/api/JavacTrees.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/processing/JavacMessager.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/util/JCDiagnostic.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/util/Log.java
! test/tools/doclint/AnchorTest.out
! test/tools/doclint/AnchorTest2.out
! test/tools/doclint/HtmlTagsTest.out
! test/tools/doclint/anchorTests/p/Test.javac.out
! test/tools/doclint/anchorTests/p/Test.out
! test/tools/doclint/anchorTests/p/package-info.javac.out
! test/tools/doclint/anchorTests/p/package-info.out
! test/tools/doclint/tidy/AnchorAlreadyDefined.out
! test/tools/javac/6304921/TestLog.java
+ test/tools/javac/processing/TestMultipleErrors.java
+ test/tools/javac/processing/TestMultipleErrors.out



More information about the jdk9-dev-changes mailing list