Integrated: 8327839: Crash with unboxing and widening primitive conversion in switch
Aggelos Biboudis
abimpoudis at openjdk.org
Mon Mar 18 13:19:31 UTC 2024
On Tue, 12 Mar 2024 14:06:11 GMT, Aggelos Biboudis <abimpoudis at openjdk.org> wrote:
> In cases where the compiler needs to unbox a `long`, `float`, `double` and then run the exactness check, we were getting a crash. While the selector value is always boxed, the type (which controls the execution flow) was not, because the `selectorType` was wrong. This PR addresses this bug.
This pull request has now been integrated.
Changeset: fb390d20
Author: Aggelos Biboudis <abimpoudis at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/fb390d202c8bbbbb87ba48fd01387feb35a1b768
Stats: 111 lines in 5 files changed: 99 ins; 0 del; 12 mod
8327839: Crash with unboxing and widening primitive conversion in switch
Reviewed-by: jlahoda
-------------
PR: https://git.openjdk.org/jdk/pull/18236
More information about the core-libs-dev
mailing list