Go to file
Tom Tromey 0f918fea8b [multiple changes]
2000-01-04  Tom Tromey  <tromey@cygnus.com>

	* java/lang/reflect/natConstructor.cc (newInstance): Pass
	declaring class as return_type argument to
	_Jv_CallNonvirtualMethodA.
	* java/lang/reflect/natMethod.cc (_Jv_CallNonvirtualMethodA): In
	constructor case, create object and use it as `this' argument.
	* java/lang/Class.h (_getConstructors): Declare.
	(_getFields): Declare.
	* java/lang/Class.java (getConstructors): Wrote.
	(_getConstructors): New native method.
	(getDeclaredConstructors): Wrote.
	(_getFields): Declare new native method.
	* java/lang/natClass.cc (_Jv_LookupInterfaceMethod): Removed
	incorrect comment.
	(getMethod): Work correctly when class is primitive.
	(getDeclaredMethods): Likewise.  Compute offset using `method',
	not `mptr'.
	(getDeclaredMethod): Likewise.
	(getConstructor): Wrote.
	(ConstructorClass): New define.
	(getDeclaredConstructor): Wrote.
	(_getConstructors): New method.
	(_getFields): New method.
	(getFields): Wrote.

	* Makefile.in: Rebuilt.
	* Makefile.am (AM_CXXFLAGS): Added -D_GNU_SOURCE.

	* prims.cc: Remove `#pragma implementation'.
	* gcj/array.h: Remove `#pragma interface'.

	* prims.cc (_Jv_equaln): New function.
	* java/lang/Class.java (getSignature): Declare.
	* resolve.cc (_Jv_LookupDeclaredMethod): Moved to natClass.cc.
	* java/lang/natClass.cc (_Jv_LookupDeclaredMethod): Moved from
	resolve.cc.
	(getSignature): New method.
	(getDeclaredMethod): Wrote.
	(getMethod): Wrote.
	Include StringBuffer.h.
	* java/lang/Class.h (Class): Added _Jv_FromReflectedConstructor
	as a friend.  Unconditionally declare _Jv_LookupDeclaredMethod as
	a friend.
	(getSignature): Declare.
	* include/jvm.h (_Jv_GetTypesFromSignature): Declare.
	(_Jv_equaln): Declare.
	(_Jv_CallNonvirtualMethodA): Declare.
	* Makefile.in: Rebuilt.
	* Makefile.am (nat_source_files): Added natConstructor.cc.
	(java/lang/reflect/Constructor.h): New target.
	* java/lang/reflect/natConstructor.cc: New file.
	* java/lang/reflect/Constructor.java (newInstance): Now native.
	(declaringClass): Renamed from decl_class.
	(offset): Renamed from index.
	(getType): New native method.
	(getModifiers): Now native.
	(getParameterTypes): Call getType if required.
	(hashCode): Include hash code from declaring class.
	(modifiers): Removed.
	(toString): Call getType if required.
	* gcj/method.h (_Jv_FromReflectedConstructor): New function.
	* java/lang/reflect/natMethod.cc (hack_call): New method.
	Removed `#if 0' around FFI code.
	Include <gnu/gcj/RawData.h>.
	(invoke): Use _Jv_CallNonvirtualMethodA.  Throw
	IllegalArgumentException when argument object and class disagree.
	(_Jv_GetTypesFromSignature): New function.
	(getType): Use it.
	(ObjectClass): New define.
	(_Jv_CallNonvirtualMethodA): New function.
	* java/lang/reflect/Method.java (hack_trampoline): New method.
	(hack_call): New native method.

1999-12-21  Per Bothner  <per@bothner.com>

	* java/lang/natClass.cc (getDeclaredMethods): Correctly compute
	offset in new Method.

From-SVN: r31199
2000-01-04 08:46:52 +00:00
boehm-gc linux_threads.c: Don't block SIGINT, SIGQUIT, SIGTERM in the NO_SIGNALS case. 1999-12-24 01:08:34 +00:00
config * mh-openedition: New file. 1999-09-07 23:31:40 -07:00
contrib newcvsroot: Add check on the number of command-line arguments. 1999-12-18 14:34:56 +00:00
etc * configure.in: Use AC_PREREQ(2.12.1). 1998-11-23 13:51:40 +00:00
gcc Daily bump. 2000-01-04 01:45:07 -07:00
include symcat.h (STRINGX): Change "?" to "s" to stringify argument s. 2000-01-01 17:26:13 +00:00
INSTALL More mail address and web address updates. 1999-08-09 00:48:10 -06:00
libchill Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au> 1999-10-27 01:14:18 -07:00
libf2c Daily bump. 2000-01-04 01:45:07 -07:00
libffi * Makefile.am (INCLUDES): Added -I$(top_srcdir)/src. 1999-12-31 22:44:09 +00:00
libiberty vasprintf.c (int_vasprintf): Don't re-read the format character as this mishandles strings like '%%s'. 1999-12-27 21:38:06 +00:00
libio libio.h (_IO_cookie_io_functions_t): Use _IO_off_t instead of _IO_fpos_t. 1999-12-22 10:01:59 +01:00
libjava [multiple changes] 2000-01-04 08:46:52 +00:00
libobjc Fixed deallocation of a mutex in thr-single.c (patch from Chris Ball <cball@fmco.com>). 1999-09-29 00:37:49 +00:00
libstdc++ Makefile.in (MYCXXFLAGS): Include $(CXXFLAGS). 1999-12-15 04:13:57 -05:00
texinfo dummy checkin to prevent merge lossage 1999-09-04 09:09:22 -06:00
zlib configure: Rebuilt. 1999-10-04 22:08:42 +00:00
.cvsignore
ChangeLog * MAINTAINERS: Add myself to "write after approval" list. 1999-12-23 01:47:09 +00:00
config-ml.in config-ml.in (sparc*-*-*): Disable sparcv9 support if the necessary libraries are missing. 1999-11-23 00:57:06 -07:00
config.guess config.guess (alpha-osf, [...]): Detect ev67. 1999-12-14 08:10:58 -08:00
config.if config.if (cxx_interface, [...]): Do not try to set these if the appropriate directories and files to not exist. 1998-10-18 11:37:10 -06:00
config.sub config.guess (alpha-osf, [...]): Detect ev67. 1999-12-14 08:10:58 -08:00
configure * configure: Fix quoting inside arguments of eval. 1999-10-25 23:47:42 -06:00
configure.in * configure.in (fr30): Fix typo. 1999-10-03 14:21:45 -06:00
COPYING
COPYING.LIB
install-sh Final changes from devo<->egcs merge. 1998-10-12 04:44:57 -06:00
ltconfig * ltconfig, ltmain.sh: Update to libtool 1.2f. 1999-06-21 20:36:09 -06:00
ltmain.sh * ltconfig, ltmain.sh: Update to libtool 1.2f. 1999-06-21 20:36:09 -06:00
MAINTAINERS Add myself to "write after approval" list 1999-12-23 01:32:54 +00:00
Makefile.in configure.in (target_libs): Added target-zlib. 1999-06-22 16:46:19 -06:00
missing missing: Update to version from automake 1.3. 1998-10-08 17:28:38 -06:00
mkinstalldirs
move-if-change FSF address fix in copyright header. 1999-01-11 07:12:18 -07:00
README
symlink-tree
ylwrap

		   README for GNU development tools

This directory contains various GNU compilers, assemblers, linkers, 
debuggers, etc., plus their support routines, definitions, and documentation.


Check the INSTALL directory for detailed configuration and installation
instructions.


Much of the code and documentation enclosed is copyright by
the Free Software Foundation, Inc.  See the file COPYING or
COPYING.LIB in the various directories, for a description of the
GNU General Public License terms under which you can copy the files.

REPORTING BUGS: Again, see gdb/README, binutils/README, etc., for info
on where and how to report problems.