OSDN Git Service

* HACKING: add description on updating namespace
authormark <mark@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 29 Jul 2001 10:05:08 +0000 (10:05 +0000)
committermark <mark@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 29 Jul 2001 10:05:08 +0000 (10:05 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44454 138bc75d-0d04-0410-961f-82ee72b054a4

libjava/ChangeLog
libjava/HACKING

index 15a2c56..0f924a7 100644 (file)
@@ -1,3 +1,7 @@
+2001-07-29  Mark Wielaard <mark@klomp.org>
+
+       * HACKING: add description on updating namespace
+
 2001-07-26  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
 
        * java/util/Calendar.java (set): Never recompute fields here. They 
 2001-07-26  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
 
        * java/util/Calendar.java (set): Never recompute fields here. They 
index 651e1a3..842617a 100644 (file)
@@ -44,3 +44,20 @@ Install that (dont worry, it should still work for other projects), add your
 files to the Makefile.am, then just type "automake" and it will regenerate the
 Makefile.in. Easy!
 
 files to the Makefile.am, then just type "automake" and it will regenerate the
 Makefile.in. Easy!
 
+Tom Tromey adds:
+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.
+
+If you're generating a patch there is a program you can get to do an
+offline `cvs add' (it will fake an `add' if you don't have write
+permission yet).  Then you can use `cvs diff -N' to generate the
+patch.  See http://www.red-bean.com/cvsutils/
+