[jdk11u-dev] RFR: 8296812: sprintf is deprecated in Xcode 14 [v2]

Antonio Vieiro duke at openjdk.org
Sun Jul 7 07:09:17 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");

Antonio Vieiro has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase.

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

Changes:
  - all: https://git.openjdk.org/jdk11u-dev/pull/2836/files
  - new: https://git.openjdk.org/jdk11u-dev/pull/2836/files/76a56544..76a56544

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=2836&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=2836&range=00-01

  Stats: 0 lines in 0 files changed: 0 ins; 0 del; 0 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