[jdk21u-dev] RFR: 8334756: javac crashed on call to non-existent generic method with explicit annotated type arg [v2]
Satyen Subramaniam
ssubramaniam at openjdk.org
Mon Sep 22 21:58:15 UTC 2025
On Mon, 22 Sep 2025 18:32:36 GMT, Satyen Subramaniam <ssubramaniam at openjdk.org> wrote:
>> Backporting JDK-8334756: javac crashed on call to non-existent generic method with explicit annotated type arg. Adjusts code to avoid a ClassCastException in javac while compiling a non-existent method annotated with type annotations. Rather than encouraging users to file a JBS issue, directly identify the problematic annotations. Ran GHA Sanity Checks, local Tier 1 and 2, and new test directly. Patch is clean.
>
> Satyen Subramaniam 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 two additional commits since the last revision:
>
> - Merge branch 'openjdk:master' into 8334756
> - Backport abcd23f4d65698f47fd79a95aed197a12edf2784
Confirmed test passing locally, I'll let the GHA tests complete before merging
-------------
PR Comment: https://git.openjdk.org/jdk21u-dev/pull/1859#issuecomment-3321616873
More information about the jdk-updates-dev
mailing list