bootstrapping icedtea with gcj 4.3
Bernhard Rosenkraenzer
bero at arklinux.org
Mon Oct 15 04:42:53 PDT 2007
Hi,
I've just tried to bootstrap icedtea (current hg) with gcj 4.3 from SVN (the
first semi-official gcc with generics support).
It compiles a lot of files, but finally barfs with
[javac] Compiling 2 source files
to /usr/src/ark/BUILD/icedtea/openjdk/control/build/linux-i586/langtools/build/toolclasses
[javac] ----------
[javac] 1. ERROR
in /usr/src/ark/BUILD/icedtea/openjdk/langtools/make/tools/CompileProperties/CompileProperties.java
(at line 220)
[javac] List<String> sortedKeys = new ArrayList<String>();
[javac] ^^^^
[javac] The type List is not generic; it cannot be parameterized with
arguments <String>
[javac] ----------
[javac] 2. ERROR
in /usr/src/ark/BUILD/icedtea/openjdk/langtools/make/tools/CompileProperties/CompilePropert
[javac] ies.java (at line 220)
[javac] List<String> sortedKeys = new ArrayList<String>();
[javac] ^^^^^^
[javac] Syntax error, parameterized types are only available if source
level is 5.0
[...]
Are there any known workarounds for this, other than using the gcc 4.1 fork?
Regards,
bero
More information about the distro-pkg-dev
mailing list