8299378: sprintf is deprecated in Xcode 14#11793
8299378: sprintf is deprecated in Xcode 14#11793XueleiFan wants to merge 3 commits intoopenjdk:masterfrom
Conversation
|
👋 Welcome back xuelei! A progress list of the required criteria for merging this PR into |
|
@XueleiFan The following label will be automatically applied to this pull request:
When this pull request is ready to be reviewed, an "RFR" email will be sent to the corresponding mailing list. If you would like to change these labels, use the /label pull request command. |
Webrevs
|
|
@XueleiFan This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. After integration, the commit message for the final commit will be: You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 28 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details. ➡️ To integrate this PR with the above commit message to the |
dholmes-ora
left a comment
There was a problem hiding this comment.
Seems fine. Thanks. One nit below.
|
/integrate |
|
Going to push as commit 38cfc59.
Your commit was automatically rebased without conflicts. |
|
@XueleiFan Pushed as commit 38cfc59. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
|
@XueleiFan Unfortunately I still get the same error even after this PR was merged. And looking at the file I still see the usage of sprintf: Edit:: |
@Siedlerchr Would you please share the platform information? Thanks! |
|
Ventura 13.1 (22C65) Full log (I commented out that line in libAsyncExceptionOnMonitorEnter, therefore the following came up) I run |
|
We have developers reporting the same, and other issues. I don't know what builds you used to test this but there are issues with at least |
|
@dholmes-ora I am using the latest master branch from earlier today 82deb5c |
I could reproduce the issue. A new bug was filed: https://bugs.openjdk.org/browse/JDK-8299635. Thank you! |
|
Oddly, this PR didn't solve it for me either. 8299635 should include the failure of |
The
sprintfis deprecated in Xcode 14 because of security concerns. The issue was addressed in JDK-8296812, but the test was not covered. The failure was reported later, while gtest is enabled for building.This patch is just to make sure the building could pass. Other than that, the use of
sprintfin other places are not touched.Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk pull/11793/head:pull/11793$ git checkout pull/11793Update a local copy of the PR:
$ git checkout pull/11793$ git pull https://git.openjdk.org/jdk pull/11793/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 11793View PR using the GUI difftool:
$ git pr show -t 11793Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/11793.diff