Go to file
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
INSTALL
boehm-gc re PR libgcj/19823 (java fails with non-executable memory) 2005-02-16 04:10:42 +00:00
config re PR bootstrap/18058 (Bootstrap fails with non-GCC compilers) 2005-01-23 19:22:01 +00:00
contrib * reg_periodic, reg_search: Fix the uses of date command. 2005-01-18 02:04:51 +00:00
fastjar Introduce and use config/gcc-version.m4. 2004-12-02 11:05:13 +00:00
fixincludes re PR bootstrap/18458 ("make install" -> fixincl missing extension) 2004-12-13 07:42:10 -08:00
gcc re PR tree-optimization/19786 (Aliasing optimisation bug) 2005-02-22 02:27:37 +00:00
include re PR bootstrap/19818 (GCC 4.0 cannot bootstrap itself) 2005-02-14 08:52:24 +00:00
intl aclocal.m4: Regenerate. 2004-11-24 21:53:28 +00:00
libada
libcpp re PR middle-end/18785 (isdigit builtin function fails with EBCDIC character sets) 2005-02-20 17:01:32 +00:00
libffi cls_align_longdouble.c: Remove dg-options. 2005-02-11 22:33:16 +00:00
libgfortran re PR libfortran/19302 (intrinsic_nearest.f90 fails) 2005-02-21 21:39:33 +00:00
libiberty cp-demangle.c (__cxa_demangle): Change resolution of ambiguous arguments. 2005-02-13 01:58:20 -05:00
libjava [multiple changes] 2005-02-22 03:13:35 +00:00
libmudflap * typo fix 2005-02-13 12:58:28 +00:00
libobjc change the changelog entry to: 2004-12-20 14:35:07 -08:00
libstdc++-v3 Makefile.am, [...]: Fix accidental extra change from previous commit. 2005-02-22 00:17:16 +00:00
maintainer-scripts update_version (ADD_BRANCHES): Replace lno-branch with autovect-branch. 2004-12-31 00:11:08 +00:00
zlib Revert bad import 2005-02-02 22:09:16 +00:00
.cvsignore
ABOUT-NLS
COPYING
COPYING.LIB
ChangeLog re PR libgcj/10353 (Java testsuite failures) 2005-02-21 08:12:36 +00:00
ChangeLog.tree-ssa
MAINTAINERS MAINTAINERS (Write After Approval): Add myself. 2005-02-19 17:29:42 +00:00
Makefile.def re PR libgcj/18222 (libjava bootstrap failure on Tru64 UNIX: CPPFLAGS changed in libltdl) 2005-01-17 23:50:27 +00:00
Makefile.in re PR libgcj/18222 (libjava bootstrap failure on Tru64 UNIX: CPPFLAGS changed in libltdl) 2005-01-17 23:50:27 +00:00
Makefile.tpl re PR libgcj/18222 (libjava bootstrap failure on Tru64 UNIX: CPPFLAGS changed in libltdl) 2005-01-17 23:50:27 +00:00
README
README.SCO * README.SCO: Update per FSF instructions. 2004-11-01 02:19:48 +00:00
compile install-sh, compile: Import from automake. 2004-11-16 01:04:30 +00:00
config-ml.in re PR bootstrap/18033 (--disable-aix64 doesn't remove ppc64 from multilib list) 2005-01-12 19:47:56 -05:00
config.guess config.guess, config.sub: Import from savannnah. 2004-11-16 00:57:01 +00:00
config.rpath
config.sub install-sh, config.sub: Import from upstream. 2005-01-18 01:20:48 +00:00
configure re PR libgcj/10353 (Java testsuite failures) 2005-02-21 08:12:36 +00:00
configure.in re PR libgcj/10353 (Java testsuite failures) 2005-02-21 08:12:36 +00:00
depcomp config.guess: New upstream version 2004-09-23 01:21:50 +00:00
install-sh install-sh, config.sub: Import from upstream. 2005-01-18 01:20:48 +00:00
libtool.m4 libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Re-import linux-gnu case from CVS libtool to always pass_all. 2004-11-29 23:45:23 +00:00
ltcf-c.sh ltcf-c.sh (tpf*): Add ld_shlibs=yes. 2004-10-02 16:33:06 +00:00
ltcf-cxx.sh ltcf-c.sh (tpf*): Add ld_shlibs=yes. 2004-10-02 16:33:06 +00:00
ltcf-gcj.sh
ltconfig ltcf-c.sh (tpf*): Add ld_shlibs=yes. 2004-10-02 16:33:06 +00:00
ltmain.sh
missing
mkdep
mkinstalldirs
move-if-change
symlink-tree
ylwrap * Revert to previous version due to Binutils breakage. 2004-09-24 11:14:51 +00:00

README

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the file COPYING
for copying permission.  The manuals, and some of the runtime
libraries, are under different terms; see the individual source files
for details.

The directory INSTALL contains copies of the installation information
as HTML and plain text.  The source of this information is
gcc/doc/install.texi.  The installation information includes details
of what is included in the GCC sources and what files GCC installs.

See the file gcc/doc/gcc.texi (together with other files that it
includes) for usage and porting information.  An online readable
version of the manual is in the files gcc/doc/gcc.info*.

See http://gcc.gnu.org/bugs.html for how to report bugs usefully.