Integrated: 8361499: Intersection type cast causes javac crash with -Xjcov

Vicente Romero vromero at openjdk.org
Thu Jul 10 10:42:46 UTC 2025


On Tue, 8 Jul 2025 21:08:27 GMT, Vicente Romero <vromero at openjdk.org> wrote:

> After TransTypes decomposes an intersection type in its components, there is no point keeping the intersection AST around. This could lead to errors in the backend. This PR is proposing lowering the intersection AST to it's first component,
> 
> TIA

This pull request has now been integrated.

Changeset: 80662a48
Author:    Vicente Romero <vromero at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/80662a485af9002d256d18d28a5bfe2a7c30e4d4
Stats:     97 lines in 2 files changed: 94 ins; 2 del; 1 mod

8361499: Intersection type cast causes javac crash with -Xjcov

Reviewed-by: mcimadamore

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

PR: https://git.openjdk.org/jdk/pull/26203


More information about the compiler-dev mailing list