RFR: 8329289: Unify SetupJdkExecutable and SetupJdkLibrary

Magnus Ihse Bursie ihse at openjdk.org
Thu Mar 28 18:03:51 UTC 2024


Currently a lot of code is duplicated between SetupJdkExecutable and SetupJdkLibrary. Furthermore, some functionality is still missing from SetupJdkExecutable that is present in SetupJdkLibrary. These functions also have not had their documentation properly updated as they have evolved. This PR will fix all of this.

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

Commit messages:
 - FIx documentation
 - Remove FindSrcDirsForLib
 - Unify and simplify code
 - Merge SetupJdkExecutable and SetupJdkLibrary into SetupJdkNativeCompilation

Changes: https://git.openjdk.org/jdk/pull/18537/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=18537&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8329289
  Stats: 170 lines in 1 file changed: 52 ins; 83 del; 35 mod
  Patch: https://git.openjdk.org/jdk/pull/18537.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/18537/head:pull/18537

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


More information about the build-dev mailing list