RFR: 8301853: C4819 warnings were reported in HotSpot on Windows

David Holmes dholmes at openjdk.org
Tue Feb 7 02:33:46 UTC 2023


On Mon, 6 Feb 2023 12:33:44 GMT, Yasumasa Suenaga <ysuenaga at openjdk.org> wrote:

> 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)
> 
> 
> d:\github-forked\jdk\src\hotspot\cpu\x86\stubGenerator_x86_64_poly.cpp(1): error C2220: 次の警告はエラーとして処理されます
> d:\github-forked\jdk\src\hotspot\cpu\x86\stubGenerator_x86_64_poly.cpp(1): warning C4819: ファイルは、現在のコード ページ (932) で表示できない文字を含んでいます。データの損失を防ぐために、ファイルを Unicode 形式で保存してください。

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).

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

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


More information about the hotspot-dev mailing list