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

Liam Miller-Cushon cushon at openjdk.org
Fri Dec 15 15:14:14 UTC 2023


> 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

Liam Miller-Cushon has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase.

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

Changes:
  - all: https://git.openjdk.org/jdk11u-dev/pull/2312/files
  - new: https://git.openjdk.org/jdk11u-dev/pull/2312/files/b80fdcd2..b80fdcd2

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=2312&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=2312&range=00-01

  Stats: 0 lines in 0 files changed: 0 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk11u-dev/pull/2312.diff
  Fetch: git fetch https://git.openjdk.org/jdk11u-dev.git pull/2312/head:pull/2312

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


More information about the jdk-updates-dev mailing list