Re: Trouble building gcj 4.8.1

Andrew Haley <[email protected]> Tue, 25 Jun 2013 15:07:05 +0100
Newsgroups gmane.comp.gcc.java.devel
Message-ID <[email protected]>
On 06/25/2013 02:53 PM, Mike Hearn wrote:
>> 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.

Indeed.

> 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?

It's ninja stuff, really.  What is your goal in all of this?

Andrew.