[code-reflection] Integrated: Fix unbox invocation
Paul Sandoz
psandoz at openjdk.org
Mon Mar 18 22:21:40 UTC 2024
On Mon, 18 Mar 2024 17:52:23 GMT, Paul Sandoz <psandoz at openjdk.org> wrote:
> The compiler generated incorrect models for unboxing:
> 1. The unboxing method is a virtual method on the box class, not a static method (as is the case for boxing).
> 2. When primitive casting to a box we need to use the boxed type as the referencing class of the invocation not `Object`.
This pull request has now been integrated.
Changeset: 5549b694
Author: Paul Sandoz <psandoz at openjdk.org>
URL: https://git.openjdk.org/babylon/commit/5549b694b691410a354cf0c7a579cdcd9222341b
Stats: 21 lines in 4 files changed: 3 ins; 0 del; 18 mod
Fix unbox invocation
-------------
PR: https://git.openjdk.org/babylon/pull/41
More information about the babylon-dev
mailing list