X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=libjava%2FHACKING;h=f0ad859a6ffb12a38bb33b8ccb11f4edd7da7151;hb=2eac54b2f675276d123ef40b4467d78ec9fb063e;hp=651e1a3299399a9c85a7a5606c55d10a473e9755;hpb=f48fcef53f6026ebd4d168da4a2adc88c20ee94f;p=pf3gnuchains%2Fgcc-fork.git diff --git a/libjava/HACKING b/libjava/HACKING index 651e1a32993..f0ad859a6ff 100644 --- a/libjava/HACKING +++ b/libjava/HACKING @@ -18,8 +18,12 @@ efficient, cleanest) implementation of each method/class/package, resolve any conflicts created by the merge, and test the final result. The merged files can be recognized by the standard Classpath copyright -comments at the top of the file. If you make changes to these files then -you should also send a patch to the classpath mailinglist. +comments at the top of the file. If you make changes to these files +then you should also check in the fix to Classpath. For small changes +it may be easier to send a patch to the classpath mailinglist. For +large changes, if you have direct write access to the libgcj tree, +then you will also need to get a Classpath account and do the work +yourself. @@ -38,9 +42,26 @@ But note the following (thanks to Bryce McKinlay): > Makefile? Yup, you need the magic libgcj automake ;-) - + -Install that (dont worry, it should still work for other projects), add your +Install that (don't 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/ +