[jdk17u-dev] Integrated: 8284760: Correct type/array element offset in LibraryCallKit::get_state_from_digest_object()

Aleksey Shipilev shade at openjdk.org
Tue Jul 4 09:49:59 UTC 2023


On Thu, 29 Jun 2023 17:37:05 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> Clean backport to strengthen the affected path: calling `array_element_address` with `T_INT` is not correct. It is harmless for 17u now, but it breaks downstreams like Lilliput JDK 17u. While this does not fix a bug, the new code does the right thing, and it matches the code in mainline better.
> 
> Additional testing:
>  - [x] Linux x86_64 fastdebug `tier1`
>  - [x] Linux x86_64 fastdebug `tier2`
>  - [x] Linux x86_64 fastdebug `tier3`

This pull request has now been integrated.

Changeset: ce054c91
Author:    Aleksey Shipilev <shade at openjdk.org>
URL:       https://git.openjdk.org/jdk17u-dev/commit/ce054c91bb337f7ef2a4fc04e4f64639b69080c3
Stats:     22 lines in 2 files changed: 7 ins; 0 del; 15 mod

8284760: Correct type/array element offset in LibraryCallKit::get_state_from_digest_object()

Backport-of: 2ba5cc4163ccd944e2df917e5d617a78fa4ee75b

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

PR: https://git.openjdk.org/jdk17u-dev/pull/1516


More information about the jdk-updates-dev mailing list