[jdk17u-dev] RFR: 8325621: Improve jspawnhelper version checks

Chad Rakoczy duke at openjdk.org
Sat Jun 15 00:18:26 UTC 2024


Backport [JDK-8325621](https://bugs.openjdk.org/browse/JDK-8325621)

Clean backport to update jspawnhelper to check that JDK version and jspawnhelper version are the same. Updates test to include check for version. Updated test passes. Already backported to 21 and 22. Risk is low: touches the production code paths but only passes an additional argument to jspawnhelper.

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

Commit messages:
 - Backport a232e8fb4e6e9e2e9a5285bf01c93b8d1d995f04

Changes: https://git.openjdk.org/jdk17u-dev/pull/2592/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=2592&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8325621
  Stats: 59 lines in 5 files changed: 47 ins; 4 del; 8 mod
  Patch: https://git.openjdk.org/jdk17u-dev/pull/2592.diff
  Fetch: git fetch https://git.openjdk.org/jdk17u-dev.git pull/2592/head:pull/2592

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


More information about the jdk-updates-dev mailing list