[jdk11u-dev] RFR: 8313816: Accessing jmethodID might lead to spurious crashes [v2]

Jaroslav Bachorik jbachorik at openjdk.org
Wed Dec 6 10:42:17 UTC 2023


> This backport is, unfortunately, not a clean one.
> 
> The functional changes applied almost cleanly, modulo the change of 'nullptr' to 'NULL' in the source code.
> 
> The problematic part is the testing - the test had to be adjusted for JDK 11, I had to pull in two test support files (or could have extracted the support methods but it felt like having the full files would be easier to review considering differences against the original) and I had to change the whitebox function to trigger purging of the previous class version.

Jaroslav Bachorik has updated the pull request incrementally with one additional commit since the last revision:

  Remove WhiteBox::metaspaceSharedRegionAlignment

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

Changes:
  - all: https://git.openjdk.org/jdk11u-dev/pull/2321/files
  - new: https://git.openjdk.org/jdk11u-dev/pull/2321/files/e4bb2873..3dafaaa9

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=2321&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=2321&range=00-01

  Stats: 1 line in 1 file changed: 0 ins; 1 del; 0 mod
  Patch: https://git.openjdk.org/jdk11u-dev/pull/2321.diff
  Fetch: git fetch https://git.openjdk.org/jdk11u-dev.git pull/2321/head:pull/2321

PR: https://git.openjdk.org/jdk11u-dev/pull/2321


More information about the jdk-updates-dev mailing list