[jdk21u-dev] Integrated: 8334756: javac crashed on call to non-existent generic method with explicit annotated type arg
Satyen Subramaniam
ssubramaniam at openjdk.org
Tue Sep 23 01:40:37 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.
This pull request has now been integrated.
Changeset: 64cc452e
Author: Satyen Subramaniam <ssubramaniam at openjdk.org>
URL: https://git.openjdk.org/jdk21u-dev/commit/64cc452e8a7c342044246ac1065b256ab03c50ef
Stats: 29 lines in 3 files changed: 28 ins; 0 del; 1 mod
8334756: javac crashed on call to non-existent generic method with explicit annotated type arg
Backport-of: abcd23f4d65698f47fd79a95aed197a12edf2784
-------------
PR: https://git.openjdk.org/jdk21u-dev/pull/1859
More information about the jdk-updates-dev
mailing list