On Mon, 3 Nov 2025 13:05:50 GMT, Tobias Hartmann <[email protected]> wrote:
> [JDK-8366973](https://bugs.openjdk.org/browse/JDK-8366973) / > https://github.com/openjdk/valhalla/pull/1554 added code to handle calls to a > method with an unloaded return type. That code also changes the return type > of the call to a scalarized return: > https://github.com/openjdk/valhalla/blob/a6d6cb8b9107cc6f8aeb28d5547cec9a5e58f711/src/hotspot/share/opto/graphKit.cpp#L2042-L2046 > > As a result, the old projection node still used in the "return is null" > branch gets a bottom type which confuses code that generates the oop map. We > should just use constant null there. > > No regression test because basically all the serviceability tests fail with > `-Xcomp`. > > Thanks, > Tobias This pull request has now been integrated. Changeset: 7b5f1056 Author: Tobias Hartmann <[email protected]> URL: https://git.openjdk.org/valhalla/commit/7b5f1056363a4e636d21467ae28f99cf48d8d1f4 Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod 8370484: [lworld] PhaseOutput::FillLocArray asserts with Unexpected type: anyptr ------------- PR: https://git.openjdk.org/valhalla/pull/1714
