JDK-8216155 : C4819 warning at libfreetype sources on Windows
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2019-01-04
  • Updated: 2019-09-10
  • Resolved: 2019-01-05
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11 JDK 13
11.0.5Fixed 13 b03Fixed
Related Reports
Relates :  
Description
https://mail.openjdk.java.net/pipermail/build-dev/2019-January/024581.html 

I tried to build OpenJDK on WSL (Windows 10 1809 + VS2017 (15.9.4) + Ubuntu 18.04 LTS). 
However, I saw C4819 warning as below: 

``` 
c:\openjdk\jdk\src\java.desktop\share\native\libfreetype\src\autofit\afscript.h: warning C4819: ������������������������������������ ��������� (932) ��������������������������������������������������������������������������������������������������������� Unicode ��������������������������������������� 
``` 

* The locale of my laptop is set to Japanese (CP932) 


We can see the problem with iconv: 
  $ iconv -f US-ASCII -t UTF8 <file>
Comments
Fix request (jdk11u): Request to backport this item as prerequisite to JDK-8222362. Patch applies cleanly.
26-06-2019