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

Liam Miller-Cushon cushon at openjdk.org
Tue Dec 12 22:54:06 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.
> 
> 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. The pull request contains four additional commits since the last revision:

 - Merge branch 'master' into backport-JDK-8320001
 - Backport 5e24aaf4f7f11862ec8ac9d5c3e65d614104fb2c
 - Merge branch 'master' into backport-JDK-8225377
 - Backport de6667cf11aa59d1bab78ae5fb235ea0b901d5c4

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

Changes:
  - all: https://git.openjdk.org/jdk17u-dev/pull/2005/files
  - new: https://git.openjdk.org/jdk17u-dev/pull/2005/files/a3f68ca8..a63b9915

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=2005&range=03
 - incr: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=2005&range=02-03

  Stats: 183 lines in 8 files changed: 153 ins; 10 del; 20 mod
  Patch: https://git.openjdk.org/jdk17u-dev/pull/2005.diff
  Fetch: git fetch https://git.openjdk.org/jdk17u-dev.git pull/2005/head:pull/2005

PR: https://git.openjdk.org/jdk17u-dev/pull/2005


More information about the jdk-updates-dev mailing list