[jdk8u-dev] RFR: 8056039: Hotspot does not compile with clang 3.4 on Linux

Antonio Vieiro avieiro at openjdk.org
Mon Dec 22 14:49:57 UTC 2025


Almost clean backport of [JDK-8056039](https://bugs.openjdk.org/browse/JDK-8056039) that removes `local_vsnprintf` from the codebase, making it easier to build with `clang`.

This will make it easier to backport [JDK-8369226](https://bugs.openjdk.org/browse/JDK-8369226) to restore MacOS/GHA builds, which are now failing.

Backport is not clean because the changes in `vm/utilities/globalDefinitions_gcc.hpp` are already in place since [this commit](https://github.com/openjdk/jdk8u-dev/commit/6ca492afe7c59b014c6ce0628eb88d7da34020b5#diff-5fb49411838cbaba246fe37dea9532cebb18f81ba3e40d2db8749f6a9ac099e9R274) for JFR.

Passes tier1 tests on Linux but for usual suspeccts.

Windows and MacOS GHA builds fail, but are unrelated.

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

Commit messages:
 - Backport a2d9ba3fd6712b2406d035de7614e8da86bac237

Changes: https://git.openjdk.org/jdk8u-dev/pull/736/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk8u-dev&pr=736&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8056039
  Stats: 45 lines in 6 files changed: 3 ins; 42 del; 0 mod
  Patch: https://git.openjdk.org/jdk8u-dev/pull/736.diff
  Fetch: git fetch https://git.openjdk.org/jdk8u-dev.git pull/736/head:pull/736

PR: https://git.openjdk.org/jdk8u-dev/pull/736


More information about the jdk8u-dev mailing list