[jdk11u-dev] Integrated: 8320001: javac crashes while adding type annotations to the return type of a constructor

Liam Miller-Cushon cushon at openjdk.org
Mon Dec 18 23:07:52 UTC 2023


On Wed, 29 Nov 2023 20:12:10 GMT, Liam Miller-Cushon <cushon at openjdk.org> wrote:

> This is a backport of [JDK-8320001: javac crashes while adding type annotations to the return type of a constructor](https://bugs.openjdk.org/browse/JDK-8320001), which fixes a regression introduced by [JDK-8225377: type annotations are not visible to javac plugins across compilation boundaries](https://bugs.openjdk.org/browse/JDK-8225377).
> 
> I resolved a trivial merge conflict due to a change on an adjacent line. The test was updated to replace a use of text blocks for Java 11 compatibility.
> 
> Testing: included test fails without the fix, and passes with it applied

This pull request has now been integrated.

Changeset: 02df756f
Author:    Liam Miller-Cushon <cushon at openjdk.org>
Committer: Paul Hohensee <phh at openjdk.org>
URL:       https://git.openjdk.org/jdk11u-dev/commit/02df756f4f9288fef7abe377e089a82f6908352d
Stats:     139 lines in 2 files changed: 138 ins; 0 del; 1 mod

8320001: javac crashes while adding type annotations to the return type of a constructor

Reviewed-by: vromero
Backport-of: 5e24aaf4f7f11862ec8ac9d5c3e65d614104fb2c

-------------

PR: https://git.openjdk.org/jdk11u-dev/pull/2312


More information about the jdk-updates-dev mailing list