RFR: 8299635: Hotspot update for deprecated sprintf in Xcode 14 [v8]

Xue-Lei Andrew Fan xuelei at openjdk.org
Thu Jan 19 18:54:08 UTC 2023


> The sprintf is deprecated in Xcode 14 because of security concerns. The issue was addressed in [JDK-8296812](https://bugs.openjdk.org/browse/JDK-8296812) for hotspot impl, and [JDK-8299378](https://bugs.openjdk.org/browse/JDK-8299378) for building, but the test case was not covered. The failure was reported in [PR 11793](https://github.com/openjdk/jdk/pull/11793#issuecomment-1371151565), while running tier1 testing.
> 
> This patch is trying to find the use of sprintf in hotspot iml and test cases.

Xue-Lei Andrew Fan has updated the pull request incrementally with two additional commits since the last revision:

 - remove serviceability update and add back forbid of sprintf
 - remove serviceability update

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/11935/files
  - new: https://git.openjdk.org/jdk/pull/11935/files/62589ae5..ec0bb486

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=11935&range=07
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=11935&range=06-07

  Stats: 9 lines in 3 files changed: 1 ins; 2 del; 6 mod
  Patch: https://git.openjdk.org/jdk/pull/11935.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/11935/head:pull/11935

PR: https://git.openjdk.org/jdk/pull/11935


More information about the serviceability-dev mailing list