[jdk17u-dev] RFR: 8335808: update for deprecated sprintf for jfrTypeSetUtils

George Adams gdams at openjdk.org
Sat Jul 6 15:34:41 UTC 2024


The occurrence of `sprintf` was removed in JDK18 as part of https://bugs.openjdk.org/browse/JDK-8266936. This patch simply converts it to `snprintf` to avoid build failures.

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

Commit messages:
 - 8335808: update for deprecated sprintf for jfrTypeSetUtils

Changes: https://git.openjdk.org/jdk17u-dev/pull/2688/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=2688&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8335808
  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk17u-dev/pull/2688.diff
  Fetch: git fetch https://git.openjdk.org/jdk17u-dev.git pull/2688/head:pull/2688

PR: https://git.openjdk.org/jdk17u-dev/pull/2688


More information about the jdk-updates-dev mailing list