RFR: 8325621: Improve jspawnhelper version checks [v3]

Chad Rakoczy duke at openjdk.org
Tue Mar 12 19:22:25 UTC 2024


> Fix for [8325621](https://bugs.openjdk.org/browse/JDK-8325621)
> 
> Updates jspawnhelper to check that JDK version and jspawnhelper version are the same. Updates test to include check for version. Also tested manually by replacing jspawnhelper with incorrect version to confirm that check works.

Chad Rakoczy has updated the pull request incrementally with two additional commits since the last revision:

 - Print to stdout instead of stderr
 - Compare version using VERSION_STRING

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/18204/files
  - new: https://git.openjdk.org/jdk/pull/18204/files/7bbcc08f..62529391

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=18204&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=18204&range=01-02

  Stats: 71 lines in 5 files changed: 12 ins; 41 del; 18 mod
  Patch: https://git.openjdk.org/jdk/pull/18204.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/18204/head:pull/18204

PR: https://git.openjdk.org/jdk/pull/18204


More information about the core-libs-dev mailing list