[jdk17u-dev] Withdrawn: 8320948: NPE due to unreported compiler error

Satyen Subramaniam ssubramaniam at openjdk.org
Fri May 23 17:23:59 UTC 2025


On Tue, 22 Apr 2025 19:16:22 GMT, Satyen Subramaniam <ssubramaniam at openjdk.org> wrote:

> Backporting JDK-8320948: NPE due to unreported compiler error. The compiler decides not to report compiler error while doing recovery on deferred types - this fix looks into the speculative types of a deferred type and if all the speculative types are erroneous, then use a recovery type as the target type, which later on in the pipeline will imply reporting errors if any. Adds test. Ran GHA Sanity Checks, local Tier 1 and 2, and new test/langtools/tools/javac/recovery/CrashDueToUnreportedError.java tests. Patch is clean.

This pull request has been closed without being integrated.

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

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


More information about the jdk-updates-dev mailing list