Re: Trouble building gcj 4.8.1

Mike Hearn <[email protected]> Tue, 25 Jun 2013 15:53:42 +0200
Newsgroups gmane.comp.gcc.java.devel
Message-ID <CANEZrP2_wVtgjM8VTT8U1bvL0B44XE0U1X4XP32DuDL1J9nFeA@mail.gmail.com>
> Any idea why it's not building? Perhaps this is why the class file
> didn't get refreshed last time ....

Ah, it seems libjava/java/lang/String.java takes precedence over
libjava/classpath/java/lang/String.java

Looks like the libjava version is several years old. I tried a simple
replacement and it didn't build, probably because String depends on
various runtime internal things.

I feel like I am reaching the limits of what I can figure out by
myself. I'm trying to get the c'tors that include Charset so I might
try a surgical patch to the libjava/java/lang version, but there's
obviously several years of fixes and optimizations to the Classpath
version which would be nice to have. And I see that there are older
versions of other java.lang files in there too.

What's involved in syncing those core classes up to the latest
classpath versions?