IcedTea b26 build just about ready

Andrew John Hughes gnu_andrew at
Tue May 27 04:51:59 PDT 2008

2008/5/27 Mark Wielaard <mark at>:
> Hi Andrew,
> On Tue, 2008-05-27 at 02:40 +0100, Andrew John Hughes wrote:
>> I successfully built an updated IcedTea based on OpenJDK b26 and most
>> of the latest IcedTea6 patches this evening.
>> IcedTea is served: openjdk/build/linux-amd64
>> $ ./openjdk/build/linux-amd64/bin/java -version
>> java version "1.7.0"
>> IcedTea Runtime Environment (build 1.7.0-b26)
>> OpenJDK 64-Bit Server VM (build 1.7.0-b26, mixed mode)
>> I placed the modified tree here:
>> for now; is it ok to commit this to the main repository?
>> I'll build on x86 and ppc64 tomorrow.
> Wow great. Thanks for all that work.
> I did try to build on x86 (fedora 9) and I needed one patch (attached)
> because I stubbornly build in the sourcedir anyway :) And duplicate
> source input files seems to confuse ecj.

I'll test this here and apply.  Thanks for spotting.  I did wonder
about this when I made the change, so probably should have tested

> I did see it now uses -source 1.6 in the bootstrap phase which is going
> to be a problem on at least fedora 8.
> As said in my previous patch to icedtea6 to not use that, it is my
> believe that there are no language changes between 1.5 and 1.6 so
> -source 1.6 is actually meaningless except that it triggers -target 1.6,
> which is fatal when a runtime is used during bootstrap that doesn't
> support the new 1.6 byte code class format. But from your previous post
> I assume there is now a difference in how some annotations like
> @Override are interpreted?

The 1.6 changes are from Lillian's patch to the icedtea tree and I agree
they seem unnecessary to me.  Lillian, why was this needed? If there is
no good reason, I'm in favour of going back to 1.5.  1.6 does seem to work
with ecj on Debian so far (may have to contradict that later though),
so I don't know what Fedora 8 uses to build.

Indeed, @Override is one of the 1.5 to 1.6 changes, but this only
occurs in OpenJDK b25 or b26 and later.
-source 1.6 will only fix it with a very new ecj -- see my other post.

>> The main changes are:
>> * Merge changes in icedtea6 tree up to doko's SPARC patch (so the
>> jtreg and gervill changes still need to be ported across)
> I'll try and forward port the jtreg and gervill changes.


>> * Update to use b26 including new versions of generated files and
>> patches.
>> * Bring the java.awt.color and java.awt.image classes across from the
>> Java2D tree.
>> * Fix an issue with an XSL file in HotSpot (see post to hotspot-dev)
>> * Fix an issue with @Override in the ecj build (see previous post).
>> * 'Generate' the file in the build rather than
>> storing it, as it's just a case of copying the appropriate file.
>> * Ensure JAVA_HOME and JAVAC are not set within the OpenJDK build.  It
>> gets set to 'ecj -nowarn' by a macro in acinclude.m4, and the CORBA
>> and JDK builds will use this in preference to their own JAVAC setting
>> if it is set, and not provide any arguments to it (including the
>> classpath).  When not set, the bootstrap JAVAC is used with the
>> appropriate arguments.
>> * Make it possible to do a build outside the icedtea directory.  I
>> found this made things a lot easier in working with icedtea.
>> I'll look at also porting the last two changes across to icedtea6 as
>> they seem to be general fixes.
> When this is done I think we should have a coordinated release of
> icedtea and icedtea6 with all these great improvements.

Sounds good to me.

> Cheers,
> Mark

Andrew :-)

Support Free Java!
Contribute to GNU Classpath and the OpenJDK

PGP Key: 94EFD9D8 (
Fingerprint: F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8

More information about the distro-pkg-dev mailing list