git: openjdk/jdk: 2 new changesets

Hannes Wallnöfer hannesw at openjdk.org
Tue Jun 4 17:24:52 UTC 2024


Changeset: 612b6896
Author:    Liam Miller-Cushon <cushon at openjdk.org>
Date:      2024-06-04 17:18:53 +0000
URL:       https://git.openjdk.org/jdk/commit/612b6896d28cebf61ef024709ff3afb5e3ee0dde

8043226: Better diagnostics for non-applicable type annotations

Reviewed-by: vromero

! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Printer.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/TypeAnnotations.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties
! test/langtools/ProblemList.txt
! test/langtools/tools/javac/annotations/typeAnnotations/failures/CantAnnotatePackages.java
! test/langtools/tools/javac/annotations/typeAnnotations/failures/CantAnnotatePackages.out
! test/langtools/tools/javac/annotations/typeAnnotations/failures/CantAnnotateScoping.java
! test/langtools/tools/javac/annotations/typeAnnotations/failures/CantAnnotateScoping.out
! test/langtools/tools/javac/annotations/typeAnnotations/failures/CantAnnotateStaticClass2.java
! test/langtools/tools/javac/annotations/typeAnnotations/failures/CantAnnotateStaticClass2.out
! test/langtools/tools/javac/annotations/typeAnnotations/failures/CantAnnotateStaticClass3.java
! test/langtools/tools/javac/annotations/typeAnnotations/failures/CantAnnotateStaticClass3.out
! test/langtools/tools/javac/annotations/typeAnnotations/newlocations/RepeatingTypeAnnotations.java
! test/langtools/tools/javac/annotations/typeAnnotations/newlocations/RepeatingTypeAnnotations.out
! test/langtools/tools/javac/diags/examples/CantAnnotateScoping.java
! test/langtools/tools/javac/diags/examples/CantAnnotateScoping1.java

Changeset: a706e35b
Author:    Hannes Wallnöfer <hannesw at openjdk.org>
Date:      2024-06-04 17:21:33 +0000
URL:       https://git.openjdk.org/jdk/commit/a706e35b12addff987b489059be8f240c60fae75

8332039: Cannot invoke "com.sun.source.util.DocTreePath.getTreePath()" because "path" is null

Reviewed-by: jjg

! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/util/CommentHelper.java
! test/langtools/jdk/javadoc/doclet/testSinceTag/TestSinceTag.java



More information about the jdk-changes mailing list