RFR: 7151898: Check for LANG in Mac OS X jdk build sanity check [macosx]

Mike Swingler swingler at apple.com
Thu Mar 15 10:59:12 PDT 2012


What other values are valid? UTF8? Why would a builder ever want to change the lang?

I think the build script should define it and use it for it's own private purposes (allowing it to be overridden) if there is no compelling reason for an ordinary user to know/care what lang is. I'd prefer not to clutter up the build instructions unless you _really_ have to pass some value that is machine-specific (like the location of the bootstrap JDK). Even then, on the Mac, I think the build scripts should call /usr/libexec/java_home -v 1.7+ on their own, and only balk if there is not sufficient OpenJDK installed.

Regards,
Mike Swingler
Apple Inc.

On Mar 15, 2012, at 9:43 AM, Stuart Marks wrote:

> Looks good to me too. I've updated the Mac build instructions on the wiki to state that LANG should be set.
> 
> s'marks
> 
> On 3/15/12 9:30 AM, Kelly O'Hair wrote:
>> Looks fine to me.
>> 
>> -kto
>> 
>> On Mar 15, 2012, at 9:18 AM, Michael McMahon wrote:
>> 
>>> Can I get the following jdk8 change reviewed please?
>>> 
>>> It is a simple sanity check on Mac OS X to ensure that
>>> LANG is set in the environment. Currently, the build fails
>>> if it's not set, but the failure is quite obscure.
>>> 
>>> http://cr.openjdk.java.net/~michaelm/7151898/webrev.1/
>>> 
>>> Thanks
>>> Michael.
>> 



More information about the macosx-port-dev mailing list