Adding new classes
Mark Wielaard
mark@klomp.org
Sun Jul 22 03:19:00 GMT 2001
Hi,
On Sun, Jul 22, 2001 at 03:43:04AM +0100, Nic Ferrier wrote:
> I need to add several new classes in several different places, at the
> moment the compiler is complaining about one of the new classes
> (java.lang.Package).
I just saw that Bryce already added java/lang/Package.java to the main
branch, are you working on the 3.0.x branch? So I looked at how he did
that and saw that he also had to add Package to the ::java::lang namespace
in the file gcj/javaprims.h. The ChangeLog comment 'Rebuild CNI namespace'
seems to imply that this can be done by some automatic process, but I don't
know what that process is.
I don't have time to test it out, but this seems to be the way to solve
my own problem with adding java/lang/StackTraceElement.java. Hopefully
it will also help you.
Cheers,
Mark
--
Stuff to read:
< http://www.toad.com/gnu/whatswrong.html >
What's Wrong with Copy Protection, by John Gilmore
More information about the Java
mailing list