8301853: C4819 warnings were reported in HotSpot on Windows#12435
8301853: C4819 warnings were reported in HotSpot on Windows#12435YaSuenag wants to merge 1 commit intoopenjdk:masterfrom
Conversation
|
👋 Welcome back ysuenaga! A progress list of the required criteria for merging this PR into |
dholmes-ora
left a comment
There was a problem hiding this comment.
Looks good and trivial. Thanks for fixing.
|
@YaSuenag 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 34 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 |
|
I note from the related PRs that they are not being fixed due to "building with the 'wrong' locale", but I would still want to see this change integrated for hotspot because the problematic characters in src/hotspot/cpu/x86/stubGenerator_x86_64_poly.cpp do not display correctly in text editors (the multiplication sign displays for me as a capital A with a tilde over it). |
|
We continue to discuss for the encoding of source files in #12436, but I want to merge this to master branch because this PR changes comments only. |
magicus
left a comment
There was a problem hiding this comment.
Please hold on and do not merge this PR.
The problem here is that the encoding of the file is not properly conveyed. This is code written by Intel where the original author clearly put in the time to use a separate mathematical sign to clarify the discussion. I think this should not just be trivially removed. Let's fix this properly instead.
|
Mailing list message from Maxim Degtyarev on hotspot-dev: Isn't it better to replace the multiplication sign with an asterisk El mar, 7 feb 2023 a las 5:51, Yasumasa Suenaga |
No. Asterisk is already used to mean something else
@magicus That may be the problem with the warning, but I'm more concerned that the special characters won't display properly in some editing environments. So as a change to hotspot code I am happy to see this go in. |
|
Visually the difference between × and x is minimal. Whereas seeing à in place of x is very disruptive. Sure you could argue this is an environment issue and the multiplication symbol should display properly with the right settings, but it is trivial fix, with zero harm, to just replace it with plain x. |
magicus
left a comment
There was a problem hiding this comment.
Ok, it's your code, so if you want an x instead, go ahead. I fully agree that some special non-ASCII character has no need in the source code, like typographic quotes, and should be replaced by normal ASCII character. I would not have counted this multiplication symbol as unnecessary, but I understand and respect that you think otherwise.
|
/integrate |
|
Going to push as commit c72f951.
Your commit was automatically rebased without conflicts. |
This is subtask of #12427 .
I have seen C4819 warning in stubGenerator_x86_64_poly.cpp and elfFile.hpp in HotSpot on Windows (CP932: Japanese locale)
Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk pull/12435/head:pull/12435$ git checkout pull/12435Update a local copy of the PR:
$ git checkout pull/12435$ git pull https://git.openjdk.org/jdk pull/12435/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 12435View PR using the GUI difftool:
$ git pr show -t 12435Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/12435.diff