jdk11u-dev
jdk11u-dev copied to clipboard
8302495: update for deprecated sprintf for java.desktop
Clean backport of JDK-8302495 as applied to 17.
This removes deprecated sprintf
with snprintf
in different parts of java.desktop
, as sprintf
is deprecated in latest XCode14/clang14 for the macos-13 GHA build infrastructure.
The build is still expected to fail on this platform until all sprintf
are removed from the codebase in future backports.
Progress
- [x] Change must not contain extraneous whitespace
- [ ] JDK-8302495 needs maintainer approval
- [x] Commit message must refer to an issue
Integration blocker
⚠️ Dependency #2848 must be integrated first
Issue
- JDK-8302495: update for deprecated sprintf for java.desktop (Enhancement - P4)
Reviewing
Using git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk11u-dev.git pull/2849/head:pull/2849
$ git checkout pull/2849
Update a local copy of the PR:
$ git checkout pull/2849
$ git pull https://git.openjdk.org/jdk11u-dev.git pull/2849/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 2849
View PR using the GUI difftool:
$ git pr show -t 2849
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk11u-dev/pull/2849.diff