diff options
author | doko <doko@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-08-04 10:53:49 +0000 |
---|---|---|
committer | doko <doko@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-08-04 10:53:49 +0000 |
commit | bfd03af53013b43663c88995c6d5943815e8d75b (patch) | |
tree | 871b70a606d87369d5aa9d6f621baedc13b49eba /libjava/HACKING | |
parent | befb0bace8afefe156fe5718f9d1f202d28560c7 (diff) | |
download | gcc-bfd03af53013b43663c88995c6d5943815e8d75b.tar.gz |
libjava/
2007-08-04 Matthias Klose <doko@ubuntu.com>
Import GNU Classpath (libgcj-import-20070727).
* Regenerate class and header files.
* Regenerate auto* files.
* include/jvm.h:
* jni-libjvm.cc (Jv_JNI_InvokeFunctions): Rename type.
* jni.cc (_Jv_JNIFunctions, _Jv_JNI_InvokeFunctions): Likewise.
* jni.cc (_Jv_JNI_CallAnyMethodA, _Jv_JNI_CallAnyVoidMethodA,
_Jv_JNI_CallMethodA, _Jv_JNI_CallVoidMethodA,
_Jv_JNI_CallStaticMethodA, _Jv_JNI_CallStaticVoidMethodA,
_Jv_JNI_NewObjectA, _Jv_JNI_SetPrimitiveArrayRegion): Constify
jvalue parameter.
* java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
* java/lang/VMFloat.java (toString, parseFloat): New.
* gnu/awt/xlib/XToolkit.java (setAlwaysOnTop, isModalityTypeSupported,
isModalExclusionTypeSupported): New (stub only).
* gnu/awt/xlib/XCanvasPeer.java (requestFocus): Likewise.
* gnu/awt/xlib/XFramePeer.java (updateMinimumSize, updateIconImages,
updateFocusableWindowState, setModalBlocked, getBoundsPrivate,
setAlwaysOnTop): Likewise.
* gnu/awt/xlib/XFontPeer.java (canDisplay): Update signature.
* scripts/makemake.tcl: Ignore gnu/javax/sound/sampled/gstreamer,
ignore javax.sound.sampled.spi.MixerProvider, ignore .in files.
* HACKING: Mention --enable-gstreamer-peer, removal of generated files.
libjava/classpath/
2007-08-04 Matthias Klose <doko@ubuntu.com>
* java/util/EnumMap.java (clone): Add cast.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@127204 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/HACKING')
-rw-r--r-- | libjava/HACKING | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/libjava/HACKING b/libjava/HACKING index a22f135afb0..560b0f7b8eb 100644 --- a/libjava/HACKING +++ b/libjava/HACKING @@ -104,17 +104,27 @@ To import a new release: cd .. scripts/makemake.tcl > sources.am automake +- Remove the generated class and header files: + find classpath -name '*.class' xargs -r rm -f + find gnu java javax org sun -name '*.h' \ + | xargs -r grep -Fl 'DO NOT EDIT THIS FILE - it is machine generated' \ + | xargs -r rm -f - Build, fix, till everything works. Be sure to build all peers (--enable-java-awt=gtk,xlib,qt - --enable-gconf-peer) + --enable-gconf-peer --enable-gstreamer-peer) Be sure to update gnu/classpath/Configuration.java to reflect the new version Possibly update the gcj/javaprims.h file with scripts/classes.pl (See below, it can only be done after the first source->bytecode pass has finished.) - You will need to configure with --enable-maintainer-mode and you + You will need to configure with --enable-java-maintainer-mode and you will need to update the .class files and generated CNI header files in your working tree +- Add/Remove newly generated files: + - svn status classpath | grep '^\!.*\.class$' | cut -c8- | xargs svn remove + - svn status classpath | grep '^\?' | cut -c8- | xargs svn add + - svn status gnu java javax org sun | grep '^\!.*\.h$' | cut -c8- | xargs svn remove + - svn status gnu java javax org sun | grep '^\?' | cut -c8- | xargs svn add Over time we plan to remove as many of the remaining divergences as possible. |