libgcj.a class substitution

Olivier Parisy ml.olivier.parisy@free.fr
Mon Nov 20 08:07:00 GMT 2006


Hi all.

Let's say I write a replacement for a JDK class available in libgcj.a 
(same package, same public signature).

As it turns out, it seems like I can natively compile this replacement 
class, but when generating an executable, its libgcj.a counterpart is 
still linked in.

Is there some way I could instruct gcj to link in my replacement class 
instead of the archive one? Or do I have to generate my own libgcj.a?

Best regards,
Olivier Parisy.



More information about the Java mailing list