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


>>>>> "Mark" == Mark Wielaard <mark@klomp.org> writes:

Mark> The ChangeLog comment 'Rebuild CNI namespace' seems to imply
Mark> that this can be done by some automatic process, but I don't
Mark> know what that process is.

You only need to do this if you add a class to java.lang, java.io, or
java.util (including sub-packages, like java.lang.ref).

* Edit gcj/javaprims.h

* Go to the `namespace java' line, and delete that entire block (the
  entire contents of the namespace)

* Then insert the output of `perl ../scripts/classes.pl' into the file
  at that point.

Tom


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