[jdk11u-dev] RFR: 8296812: sprintf is deprecated in Xcode 14
Antonio Vieiro
duke at openjdk.org
Fri Jul 5 10:08:37 UTC 2024
Backport of [JDK-8296812](https://bugs.openjdk.org/browse/JDK-8296812)
on top of [JDK-8318039](https://bugs.openjdk.org/browse/JDK-8318039) "GHA: Bump macOS and Xcode versions".
This is sadly not a clean backport.
Builds of macos will continue failing until the related issues are backported. The build seems to be failing now in some interference with the default MacOS `assert` macro ([JDK-8299254](https://bugs.openjdk.org/browse/JDK-8299254) "Support dealing with standard assert macro" is not backported to 11u).
In file included from /Users/runner/work/jdk11u-dev/jdk11u-dev/test/hotspot/gtest/jfr/test_networkUtilization.cpp:223:
/Users/runner/work/jdk11u-dev/jdk11u-dev/src/hotspot/share/jfr/periodic/jfrNetworkUtilization.cpp:58:25: error: too many arguments provided to function-like macro invocation
assert(iface != NULL, "invariant");
-------------
Commit messages:
- Backport 478ef389dc3767edfbe21d10a7f7f1522c648c2e
- Backport 605c9767291ddf1c409c3e805ffb3182899d06c2
Changes: https://git.openjdk.org/jdk11u-dev/pull/2836/files
Webrev: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=2836&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8296812
Stats: 152 lines in 26 files changed: 48 ins; 3 del; 101 mod
Patch: https://git.openjdk.org/jdk11u-dev/pull/2836.diff
Fetch: git fetch https://git.openjdk.org/jdk11u-dev.git pull/2836/head:pull/2836
PR: https://git.openjdk.org/jdk11u-dev/pull/2836
More information about the jdk-updates-dev
mailing list