RFR: JDK-8065704 Set LC_ALL=C for all relevant commands in the build system

Magnus Ihse Bursie magnus.ihse.bursie at oracle.com
Wed Oct 2 09:06:49 UTC 2019


 From the bug report:
We should prefix LC_ALL=C for most, maybe all, tools we use when building.

This probably means we should run "export LC_ALL=C" early in the 
configure script as well.
---

The fix itself is trivial. While I know we've had several issues 
regarding localization, I could not find any specific instances now that 
I was looking for them. I searched JBS for a while but could not dig up 
anything that was reproducible. So, unfortunately, I have been unable to 
verify that this solves any actual problems. That being said, I believe 
this is a prudent fix that should have been in place long time ago. But 
if anyone can give me a concrete example that breaks so that I can 
verify that this helps, please let me know.

Bug: https://bugs.openjdk.java.net/browse/JDK-8065704
WebRev: http://cr.openjdk.java.net/~ihse/JDK-8065704-LC_ALL/webrev.01

/Magnus



More information about the build-dev mailing list