RFR: 7113349 JDK8 port to macosx

Stuart Marks stuart.marks at oracle.com
Tue Mar 6 22:50:32 PST 2012


On 3/6/12 3:02 AM, Michael McMahon wrote:
> On 05/03/12 23:29, Stuart Marks wrote:
>> If LANG is unset, I get this crash in test_gamma.
> Since 8 is using an openjdk 7 bootstrap, it does know where to find the files
> and it runs
> the test. The main Java launcher is able to deal with LANG not being set. It sets
> user.language to a reasonable default. But, it appears like gamma doesn't do that
> (and hence the null key for Hashtable.put()).
>
> So, for the moment, I think we just have to ensure that LANG is set. I know
> the recommended value is "C", but it does work for the en_XX.UTF-8 locales.
> As was pointed out recently, there are other locales where it definitely
> doesn't work
> (due to dependencies in the build on the output of the date command iirc).

So, is it a bug (low priority) that the Mac build fails in this obscure fashion 
if LANG is unset? It succeeds with LANG unset, on Linux at least.

Or perhaps the build instructions should be modified to *require* that LANG be 
set. Right now README-builds.html implies that LANG should be set, by setting 
it in examples, but it's not an explicit requirement.

s'marks


More information about the macosx-port-dev mailing list