RFR: 7113349 JDK8 port to macosx
michael.x.mcmahon at oracle.com
Wed Mar 7 08:15:23 PST 2012
On 07/03/12 06:50, Stuart Marks wrote:
> 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
>> 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
> 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.
I will submit two bugs - 1) on the gamma issue in jdk7u and 8
and 2) to check for LANG in the Mac OS X sanity check as a temporary
workaround until 1) is fixed.
I have a fix for 2) ready for review.
Also, just to let folks know that the initial jdk8 changeset for Mac OS
has been pushed to
the jdk8/tl forest. All going well, it should appear in the jdk8 master
In the meantime, it is available in jdk8/tl.
More information about the macosx-port-dev