RFR: 8333301: Remove static builds using --enable-static-build

Magnus Ihse Bursie ihse at openjdk.org
Thu May 30 19:20:24 UTC 2024


The original way of building static libraries in the JDK was to use the configure argument --enable-static-build, which set the value of the make variable STATIC_BUILD. (Note that this is not the same as the source code definition STATIC_BUILD, which will be set by other means as well.)

This method only ever worked on macOS, and has long since stopped working. It was originally introduced for the Mobile Project, but I've now learn that not even they use it anymore.

It just adds clutter to the build system, and should be removed.

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

Commit messages:
 - 8333301: Remove static builds using --enable-static-build

Changes: https://git.openjdk.org/jdk/pull/19487/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=19487&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8333301
  Stats: 218 lines in 14 files changed: 4 ins; 206 del; 8 mod
  Patch: https://git.openjdk.org/jdk/pull/19487.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/19487/head:pull/19487

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


More information about the serviceability-dev mailing list