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

Aleksey Shipilev shade at openjdk.org
Fri Jun 30 08:57:09 UTC 2023


> 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:
>  - [ ] Linux x86_64 fastdebug `tier1`
>  - [ ] Linux x86_64 fastdebug `tier2`
>  - [ ] Linux x86_64 fastdebug `tier3`

Aleksey Shipilev has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains two commits:

 - Merge branch 'master' into JDK-8284760-get-state-digest
 - Backport 2ba5cc4163ccd944e2df917e5d617a78fa4ee75b

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

Changes: https://git.openjdk.org/jdk17u-dev/pull/1516/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=1516&range=01
  Stats: 22 lines in 2 files changed: 7 ins; 0 del; 15 mod
  Patch: https://git.openjdk.org/jdk17u-dev/pull/1516.diff
  Fetch: git fetch https://git.openjdk.org/jdk17u-dev.git pull/1516/head:pull/1516

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


More information about the jdk-updates-dev mailing list