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

Goetz Lindenmaier goetz at openjdk.org
Wed Jun 18 05:41:36 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.

removing the label in the meantime

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

PR Comment: https://git.openjdk.org/jdk17u-dev/pull/3521#issuecomment-2982756143


More information about the jdk-updates-dev mailing list