diff options
author | mark <mark@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-07-29 10:05:08 +0000 |
---|---|---|
committer | mark <mark@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-07-29 10:05:08 +0000 |
commit | 6436c9b1e11e9b6ea6337b169cbaff7b00c01cdd (patch) | |
tree | e4d76e0af961f4709d26096c720b959ab54d7908 /libjava/HACKING | |
parent | 8f75234704ffcb53a5679abe7661f115a35dee53 (diff) | |
download | gcc-6436c9b1e11e9b6ea6337b169cbaff7b00c01cdd.tar.gz |
* HACKING: add description on updating namespace
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44454 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/HACKING')
-rw-r--r-- | libjava/HACKING | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/libjava/HACKING b/libjava/HACKING index 651e1a32993..842617abe75 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/ + |