This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Adding new classes
- To: Nic Ferrier <nferrier at tapsellferrier dot co dot uk>
- Subject: Re: Adding new classes
- From: Mark Wielaard <mark at klomp dot org>
- Date: Sun, 22 Jul 2001 12:19:25 +0200
- Cc: java at gcc dot gnu dot org
- References: <sb5a4d00.005@tapsellferrier.co.uk>
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