RFR: 8329704: Implement framework for proper handling of JDK_LIBS [v5]

Magnus Ihse Bursie ihse at openjdk.org
Wed Apr 10 13:51:30 UTC 2024


> This is the pinnacle of the recent stream of refactorings in the build system. This patch introduces a more abstract concept of "JDK_LIBS", where only the library name (e.g. "java" or "java.desktop:jawt") is specified, and the build system turns this into suitable linker flags: `-ljawt -L<correct path>` or `jawt.lib -libpath:<correct path>`, depending on linker. It will also automatically create proper dependencies.

Magnus Ihse Bursie has updated the pull request incrementally with three additional commits since the last revision:

 - Clarify libjvm virtual library
 - Fix indentation
 - Remove misplaced line

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/18649/files
  - new: https://git.openjdk.org/jdk/pull/18649/files/245663fc..3ce7793c

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=18649&range=04
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=18649&range=03-04

  Stats: 6 lines in 2 files changed: 1 ins; 1 del; 4 mod
  Patch: https://git.openjdk.org/jdk/pull/18649.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/18649/head:pull/18649

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


More information about the build-dev mailing list