Encoding problem when building

Frank Ding dingxmin at linux.vnet.ibm.com
Mon Dec 31 05:25:20 UTC 2012


Hi
   I have an encoding problem when building openjdk 8 on my Windows 7.  
My windows is Chinese environment but I exported LANG=C in cygwin bash 
before building.  The issue is that in module corba and jdk, some java 
classes are generated by program.  They happen to contain Chinese 
characters in comment.  However, they are compiled with explicit option 
"-encoding ascii" in makefile.  This results in unrecognizable chars 
complained by javac (Error: encoding ascii unmappable chars) .  I have a 
patch that removes all unnecessary "-encoding ascii" but I am not sure 
all its side effect.  Shall I submit a bug?

   Best regards,
   Frank




More information about the build-dev mailing list