aboutsummaryrefslogtreecommitdiff
path: root/libjava
diff options
context:
space:
mode:
authorMark Wielaard <mark@klomp.org>2001-07-29 10:05:08 +0000
committerMark Wielaard <mark@gcc.gnu.org>2001-07-29 10:05:08 +0000
commit7729617cf8cee0d354cd9c44e4ffc0f0de899b5d (patch)
treee4d76e0af961f4709d26096c720b959ab54d7908 /libjava
parent1e785d81aaa2e27b95174b4b6db93d7c2894e0e3 (diff)
downloadgcc-7729617cf8cee0d354cd9c44e4ffc0f0de899b5d.zip
gcc-7729617cf8cee0d354cd9c44e4ffc0f0de899b5d.tar.gz
gcc-7729617cf8cee0d354cd9c44e4ffc0f0de899b5d.tar.bz2
* HACKING: add description on updating namespace
From-SVN: r44454
Diffstat (limited to 'libjava')
-rw-r--r--libjava/ChangeLog4
-rw-r--r--libjava/HACKING17
2 files changed, 21 insertions, 0 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog
index 15a2c56..0f924a7 100644
--- a/libjava/ChangeLog
+++ b/libjava/ChangeLog
@@ -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
diff --git a/libjava/HACKING b/libjava/HACKING
index 651e1a3..842617a 100644
--- a/libjava/HACKING
+++ b/libjava/HACKING
@@ -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!
+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/
+