gcc/libjava
Mark Wielaard 4480b3dcf6 Makefile.am (nat_source_files): Remove java/io/natObjectOutputStream.cc.
* Makefile.am (nat_source_files): Remove
        java/io/natObjectOutputStream.cc.
        * Makefile.in: Regenerated.
        * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
        * java/io/ObjectStreamField.java (typename): New field.
        (ObjectStreamField(String, Class)): Initialize new field.
        (ObjectStreamField(String, String)): New Constructor.
        (getTypeCode): Use new field.
        (getTypeString): Use new field.
        * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
        ObjectStreamExceptions. Remember and reset old BlockDataMode.
        Handle reading of Proxy classes. Never drain(), just write
        TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
        (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
        (flush): Call flush(), not just drain().
        (writeBoolean): Always use blockDataOutput.
        (writeByte): Likewise.
        (writeShort): Likewise.
        (writeChar): Likewise.
        (writeInt): Likewise.
        (writeLong): Likewise.
        (writeFloat): Likewise.
        (writeDouble): Likewise.
        (writeBytes): Likewise.
        (putfield (put(String,Object))): Throw IllegalArgumentException if
        field cannot be found.
        (putfield (write(ObjectOutput))): Remember old BlockDataMode.
        (writeArraySizeAndElements): Write byte[] in one go.
        (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
        set BlockDataMode to false.
        (annotateProxyClass): New method.
        (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
        (getField): No longer native.
        (getMethod): Likewise.
        (setBlockDataMode): Always drain() on switch, return old mode.
        (static): New static code block.
        * java/io/natObjectOutputStream.cc: Removed.
        * java/io/ObjectInputStream.java (getField): No longer native.
        (getMethod): Likewise.
        (readObject): Remember and reset old BlockDataMode. Track whether
        object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
        TC_LONGSTRING.
        (defaultReadObject): Set BlockDataMode to false during readFields.
        (resolveClass): Create new SecurityManager if necessary.
        Use Class.forName() if null ClassLoader found.
        (read(byte[],int,int): Copy remaining bytes to data before calling
        readNextBlock().
        (readFields): Set and reset BlockDataMode on call_read_method.
        Catch NoSuchFieldErrors.
        (setBlockDataMode): Return old mode.
        (static): New static code block.
        * java/io/natObjectInputStream.cc (getField): Removed.
        (getMethod): Likewise.

From-SVN: r63556
2003-02-28 11:38:56 +00:00
..
doc
gcj Makefile.in: Rebuilt. 2003-02-24 02:15:43 +00:00
gnu MappedByteFileBuffer.java, [...]: New files, both are not compiled yet to get not noncompiling CVS. 2003-02-25 11:09:44 +00:00
include Makefile.in: Rebuilt. 2003-02-24 02:15:43 +00:00
java Makefile.am (nat_source_files): Remove java/io/natObjectOutputStream.cc. 2003-02-28 11:38:56 +00:00
javax 2003-02-19 Michael Koch <konqueror@gmx.de> 2003-02-19 11:44:23 +00:00
jni XToolkit.java (getFontMetrics): initialize if necessary. 2003-02-19 00:35:35 +00:00
libltdl
org
scripts
sysdep
testsuite * libjava.jacks/jacks.xfail: Most 4.7.10 tests pass now. 2003-02-24 02:15:22 +00:00
acconfig.h
acinclude.m4 aclocal.m4, [...]: Rebuilt. 2003-01-31 17:59:00 +00:00
aclocal.m4 aclocal.m4, [...]: Rebuilt. 2003-01-31 17:59:00 +00:00
addr2name.awk
boehm.cc
ChangeLog Makefile.am (nat_source_files): Remove java/io/natObjectOutputStream.cc. 2003-02-28 11:38:56 +00:00
ChangeLog-1999
ChangeLog-2001
configure configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to config.status. 2003-02-20 09:08:45 +00:00
configure.host configure.host (alpha*-*): Default to -mieee. 2003-02-13 02:51:26 +00:00
configure.in configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to config.status. 2003-02-20 09:08:45 +00:00
COPYING
defineclass.cc
exception.cc
gij.cc
glib.m4 Window.java (Window(Window,GraphicsConfiguration)): Don't try to find graphics configuration. 2003-01-31 17:54:14 +00:00
gtk.m4 Window.java (Window(Window,GraphicsConfiguration)): Don't try to find graphics configuration. 2003-01-31 17:54:14 +00:00
HACKING
interpret.cc
jni.cc jni.cc (_Jv_LookupJNIMethod): Modify to accept the size of the arguments for a JNI function. 2003-02-12 23:40:31 +00:00
libart.m4 Window.java (Window(Window,GraphicsConfiguration)): Don't try to find graphics configuration. 2003-01-31 17:54:14 +00:00
LIBGCJ_LICENSE
libgcj-test.spec.in
libgcj.spec.in configure.host (alpha*-*): Default to -mieee. 2003-02-13 02:51:26 +00:00
libtool-version
Makefile.am Makefile.am (nat_source_files): Remove java/io/natObjectOutputStream.cc. 2003-02-28 11:38:56 +00:00
Makefile.in Makefile.am (nat_source_files): Remove java/io/natObjectOutputStream.cc. 2003-02-28 11:38:56 +00:00
mauve-libgcj Makefile.am (nat_source_files): Remove java/io/natObjectOutputStream.cc. 2003-02-28 11:38:56 +00:00
NEWS
no-threads.cc
nogc.cc
posix-threads.cc
posix.cc
prims.cc
README
resolve.cc resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling convention on Win32 to invoke native JNI methods. 2003-02-03 21:07:22 +00:00
THANKS
verify.cc verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused variable. 2003-02-16 19:34:49 +00:00
win32-threads.cc
win32.cc natStackTrace.cc: Include platform.h immediately after config.h. 2003-02-19 16:28:37 +00:00

This is libgcj: the runtime library for gcj, the GNU Compiler for Java. 
libgcj provides a partial implementation of the Java Class Libraries.

libgcj is free software.  See the file LIBGCJ_LICENSE for copying permission.


DOCUMENTATION
=============

All documentation, including detailed installation and usage instructions,
can be found on the gcj web pages at this URL:

		http://gcc.gnu.org/java/


REQUIREMENTS
============

libgcj must be built with a compatible version of the gcc compiler. libgcj
releases are usually numbered according to their corresponding gcc release.
For example, if this is "libgcj 2.95.3", you need to build it using "gcc
2.95.3".


QUICK INSTALLATION
==================

  > mkdir build
  > cd build
  > ../libgcj/configure --enable-threads=<THREADS_TYPE> --prefix=<DIR>
  > make
  > make install

where:

<THREADS_TYPE> specifies the threads library to be used by libgcj. Currently 
the possible values are "posix" and "none". This value must be the same as
the value used when configuring gcc itself.

<DIR> specifies the installation directory. This should be the same location 
as where gcc is installed.

Consult the gcj web pages for additional "configure" arguments.

NOTE: libgcj can not be built in the same directory as `configure'. You must 
create a separate build directory. 


BUGS
====

Please submit bug reports via this URL:

	http://gcc.gnu.org/cgi-bin/gnatsweb.pl?database=gcc