[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 Sep 22 18:32:38 UTC 2025
On Mon, 9 Jun 2025 17:20:30 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.
Marked as fix request yes, so re-opening. Will re-merge master into the branch and run test again locally to confirm it fixes the issue.
-------------
PR Comment: https://git.openjdk.org/jdk21u-dev/pull/1859#issuecomment-3320691307
More information about the jdk-updates-dev
mailing list