This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Adding new classes


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]