Hi,
I had some Java code that I was trying to move to a Redhat machine, but encountered some Java versioning problems. The machine that I was working on had 1.4.2_08 version of gcj, so I tried to compile my source there, but got errors, indicating that it couldn't resolve the StringBuffer class.
That gcj also had problems with Generics in my code, i.e., it didn't like something like:
List<classX> xxxx = new ArrayList<classX>();
So, I was wondering, does that version of gcj support these two things?
Also, if not, then is there a version of gcj that does, or should I get Sun's JDK installed instead?
Thanks, Jim
Hi,
* ohaya@cox.net ohaya@cox.net [2009-07-22 16:57]:
The machine that I was working on had 1.4.2_08 version of gcj
1.4.2_08 is a Sun JVM version number. And generics are a 1.5 feature. gcj has support for 1.5-level features but I'm not sure what version of gcj that began with.
Andrew
On 07/22/2009 11:23 PM, Andrew Overholt wrote:
Hi,
- ohaya@cox.net ohaya@cox.net [2009-07-22 16:57]:
The machine that I was working on had 1.4.2_08 version of gcj
1.4.2_08 is a Sun JVM version number. And generics are a 1.5 feature. gcj has support for 1.5-level features but I'm not sure what version of gcj that began with.
January 8, 2007
We've merged the gcj-eclipse branch to svn trunk. The merge changes gcj to use the Eclipse compiler as a front end, enabling all 1.5 language features. This merge also brings in a new, generics-enabled version of Classpath, including some new tools. This new code will appear in GCC 4.3.
Andrew.
java-devel@lists.fedoraproject.org