gcc/libjava
Bryce McKinlay f4294557b7 [multiple changes]
2005-02-21  Bryce McKinlay  <mckinlay@redhat.com>

	Merge serialization from GNU Classpath.
	* gcj/method.h: Add missing #includes.
	* java/io/ObjectInputStream.java (readClassDescriptor): Check for
	primitive class IDs on the stream here...
	(resolveClass): ...not here.
	* java/io/ObjectStreamField.java: Use VMObjectStream class calls to set
	fields.
	* java/io/VMObjectStreamClass.java (setDoubleNative, setFloatNative,
	setLongNative, setIntNative, setShortNative, setCharNative,
	setByteNative, setBooleanNative, setObjectNative): New native methods.
	* java/io/natVMObjectStreamClass.java (setDoubleNative, setFloatNative,
	setLongNative, setIntNative, setShortNative, setCharNative,
	setByteNative, setBooleanNative, setObjectNative): Implement them.
	* java/io/natObjectInputStream.cc (allocateObject): Add new parameters
	from Classpath's version. Use _Jv_FromReflectedConstructor(). Call
	the constructor here.
	(callConstructor): Removed.
	(getCallersClassLoader): Removed.
	* java/lang/reflect/Field.java (setByte, setShort, setInt, setLong,
	setFloat, setDouble, setChar, setBoolean): Add 'checkFinal' parameter
	to control whether setting final field values is permitted. Call
	getAddr() with checkFinal parameter instead of setAddr().
	* java/lang/reflect/natField.cc (getType): Lookup and resolve field
	only if not done already.
	(getAddr): Add checkFinal parameter. Do the final field check only if
	checkFinal is set.
	(setAddr): Removed.

2005-02-21  Mark Wielaard  <mark@klomp.org>

	# Fixes bug #11957
	* java/io/ObjectInputStream.java (resolveClass): Don't check "void"
	twice.

2005-02-21  Mark Wielaard  <mark@klomp.org>

	Fixes bug #11618.
	* java/io/ObjectInputStream.java (readClassDescriptor): Handle classes
	without a super class and us ObjectStreamClass.lookupForClassObject().
	(resolveClass): Check for primitive types.
	(lookupClass): Return null when argument is null.

2005-02-21  Jeroen Frijters  <jeroen@frijters.net>

	* java/io/ObjectInputStream.java
	(readObject): Fix to consume TC_ENDBLOCKDATA after readExternal.

2005-02-21  Jeroen Frijters  <jeroen@frijters.net>

	* java/io/ObjectOutputStream.java
	(writeObject, callWriteMethod): Replaced reflection with accessing
	cached info in ObjectStreamClass.
	(getMethod): Removed.
	* java/io/ObjectStreamClass.java
	(findMethod): Added check to make sure the method found has the
	right modifiers.
	(cacheMethods): Added writeReplace and writeObject methods.
	(setFlags): Look at new writeObjectMethod field instead of doing
	reflection again.
	(writeReplaceMethod): New field.
	(writeObjectMethod): New field.

2005-02-21  Guilhem Lavaux  <guilhem@kaffe.org>
	Jeroen Frijters  <jeroen@frijters.net>

	* java/io/ObjectInputStream.java
	(newObject): Changed prototype. Get a constructor reflect object
	directly.
	(callConstructor): Removed.
	(allocateObject): Changed prototype.
	(readClassDescriptor): Build the constructor reflection directly.
	(readObject): Invoke newObject using the new prototype.

	* java/io/ObjectStreamClass.java
	(firstNonSerializableParent): Removed.
	(firstNonSerializableParentConstructor): Added.

From-SVN: r95378
2005-02-22 03:13:35 +00:00
..
external
gcj [multiple changes] 2005-02-22 03:13:35 +00:00
gnu [multiple changes] 2005-02-22 00:58:36 +00:00
include re PR java/20056 ('verification failed: incompatible type on stack' with --indirect-dispatch) 2005-02-19 01:16:30 +00:00
java [multiple changes] 2005-02-22 03:13:35 +00:00
javax 2005-02-19 Michael Koch <konqueror@gmx.de> 2005-02-19 09:30:03 +00:00
jni gthread-jni.c (throw): Call g_snprintf instead of snprintf. 2005-02-20 04:14:24 +00:00
libltdl
org/ietf/jgss
scripts
sysdep
testsuite re PR java/20056 ('verification failed: incompatible type on stack' with --indirect-dispatch) 2005-02-19 03:57:21 +00:00
.cvsignore
acinclude.m4
aclocal.m4
addr2name.awk
boehm.cc
ChangeLog [multiple changes] 2005-02-22 03:13:35 +00:00
ChangeLog-1999
ChangeLog-2001
ChangeLog-2002
ChangeLog-2003
configure
configure.ac
configure.host
COPYING
darwin.cc
defineclass.cc
exception.cc
gij.cc gij.cc (version): Change year for '--version' to 2005. 2005-02-18 20:52:16 +00:00
HACKING
interpret.cc
jawt.c
jni.cc
LIBGCJ_LICENSE
libgcj-test.spec.in
libgcj.pc.in
libgcj.spec.in
libtool-version
link.cc link.cc (make_vtable): Remove abstract method check. 2005-02-19 05:17:14 +00:00
Makefile.am Makefile.in: Rebuilt. 2005-02-21 18:19:01 +00:00
Makefile.in Makefile.in: Rebuilt. 2005-02-21 18:19:01 +00:00
mauve-libgcj
NEWS NEWS: Draft of libgcj NEWS for 4.0. 2005-02-19 00:47:33 +00:00
no-threads.cc
nogc.cc
pkg.m4
posix-threads.cc
posix.cc
prims.cc
README
THANKS
verify.cc re PR java/20056 ('verification failed: incompatible type on stack' with --indirect-dispatch) 2005-02-19 03:57:21 +00:00
win32-threads.cc
win32.cc

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/

BUGS
====

Please submit bug reports via this URL:

	http://gcc.gnu.org/bugzilla