jdk11u-dev icon indicating copy to clipboard operation
jdk11u-dev copied to clipboard

8302495: update for deprecated sprintf for java.desktop

Open vieiro opened this issue 7 months ago • 4 comments

Clean backport of JDK-8302495 as applied to 17.

This removes deprecated sprintf with snprintfin 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

Webrev

Link to Webrev Comment

vieiro avatar Jul 10 '24 15:07 vieiro