vs2010+cygwin build failure jdk9/dev, char cannot be represented in current code page

Magnus Ihse Bursie magnus.ihse.bursie at oracle.com
Mon May 18 07:02:19 UTC 2015

On 2015-05-15 14:58, Weijun Wang wrote:
> On 5/15/2015 8:46 PM, Erik Joelsson wrote:
>> Hello Max,
>> I just synced up my jdk9/dev on Windows and built successfully using
>> VS2010. I doubt changing compilers will have any effect.
> I guess it's related to my Windows being Chinese. I've since changed 
> to English (US) and haven't seen the problem.

Unfortunately locale issues is harder to correct in the build system on 
Windows, since there's no way to locally change the locate (like LC_ALL 
on unixes).

With that said, it's unfortunate that these files contains odd 
characters. These do not display properly in my (linux) editor as well. 
Normally, I'd say "fix it!" but these files are imported from upstream, 
so a change is more complicated. Probably not worth the effort.


More information about the build-dev mailing list