[jdk21u-dev] RFR: 8334756: javac crashed on call to non-existent generic method with explicit annotated type arg
Satyen Subramaniam
ssubramaniam at openjdk.org
Mon Jun 9 17:25:16 UTC 2025
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.
-------------
Commit messages:
- Backport abcd23f4d65698f47fd79a95aed197a12edf2784
Changes: https://git.openjdk.org/jdk21u-dev/pull/1859/files
Webrev: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=1859&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8334756
Stats: 29 lines in 3 files changed: 28 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk21u-dev/pull/1859.diff
Fetch: git fetch https://git.openjdk.org/jdk21u-dev.git pull/1859/head:pull/1859
PR: https://git.openjdk.org/jdk21u-dev/pull/1859
More information about the jdk-updates-dev
mailing list