Can't build latest openjdk6
Jonathan.Gibbons at Sun.COM
Fri Aug 14 00:35:35 UTC 2009
The primary goal of changeset: 49:608910eef036 is to bring the
langtools build into line between jdk6 and jdk7, so that we can rely
on eseentially the same behavior (subject to version differences)
across the two repositoiries.
The override mechanism is unused and harmless since javac.source is
correctly defaulted in build.properties. It is included in 6 to
minimize the differences between 6 and 7.
Generally, the langtools build tries to isolate the user as much as
possible from the version of Java used to run Ant.
To build langtools, you should just need to set boot.java.home; to run
the regression tests, you will also need to
On Aug 13, 2009, at 5:00 PM, Mark Wielaard wrote:
> Hi Martin,
> On Thu, 2009-08-13 at 15:25 -0700, Martin Buchholz wrote:
>> [javac] javac: source release 6 requires target release 1.6
>> BUILD FAILED
>> The following error occurred while executing this line:
>> Compile failed; see the compiler error output for details.
>> whether or not I use a vanilla jdk6 (or even jdk7) as bootstrap jdk
>> Can anyone else successfully build openjdk6?
>> If so, what is the secret?
>> Did I miss something in my inbox?
> I haven't tried upgrading oj6 yet. And one of the reasons for not
> upgrading icedtea6 atm is to make sure the recent changes (which as
> as I could tell were not discussed on the list) to the source and
> defaults don't break the bootstrap. The commit you probably want to
> inspect is:
> changeset: 49:608910eef036
> user: jjg
> date: Tue Aug 11 16:40:03 2009 -0700
> files: make/Makefile make/build.properties make/build.xml
> 6870641: [langtools] update make/build.* for jdk6
> Reviewed-by: darcy
> Unfortunately the bug associated with that commit is also not public.
> The idea behind the commit seems to be to make the -source and -target
> explicit in more places (which is a good thing). There is now also an
> override mechanism, that I admit to not fully understand because it
> seems to be never used, through setting SOURCE_LANGUAGE_VERSION and/or
> Also note that with ant the default source and target depends on the
> that runs the ant process (which might be different from the bootstrap
> VM you are using, it probably depends on your ant installation).
More information about the build-dev