8373270: GCC 14.2.0 reports warning: '%s' directive output may be truncated#28708
8373270: GCC 14.2.0 reports warning: '%s' directive output may be truncated#28708fmatte1 wants to merge 4 commits intoopenjdk:masterfrom
Conversation
|
👋 Welcome back fmatte! A progress list of the required criteria for merging this PR into |
|
@fmatte1 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 32 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 |
Webrevs
|
| if ((snprintf_result < 0) || (snprintf_result >= (int)sizeof(buffer))) { | ||
| return (0); | ||
| } | ||
|
|
There was a problem hiding this comment.
Why not just delete this no longer used function?
There was a problem hiding this comment.
Thanks Kim for looking into it, yes we can remove this, I wasn't sure why this was kept and not removed. Removing is good, as this was unused since JDK 9 times.
|
Do we need update the copyright year. |
I am not sure, this is just a trivial cleanup change. |
I think you should update the copyright year. |
I have updated the copyright year! Thanks, |
dholmes-ora
left a comment
There was a problem hiding this comment.
Looks good.
FTR we always update the copyright year, regardless of the size of the change to the file.
Thanks
AlanBateman
left a comment
There was a problem hiding this comment.
Looks okay, maybe consider renaming the JBS issue to make it clear that this is just removing unused code.
|
@kimbarrett @dholmes-ora and @AlanBateman thanks for the reviews, I have updated the JBS issue to reflect the change. /integrate |
|
Going to push as commit 11aa6e1.
Your commit was automatically rebased without conflicts. |
8373270: GCC 14.2.0 reports warning: '%s' directive output may be truncated
Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/28708/head:pull/28708$ git checkout pull/28708Update a local copy of the PR:
$ git checkout pull/28708$ git pull https://git.openjdk.org/jdk.git pull/28708/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 28708View PR using the GUI difftool:
$ git pr show -t 28708Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/28708.diff
Using Webrev
Link to Webrev Comment