Commit Graph

3493 Commits

Author SHA1 Message Date
Michael Koch e3f92d3b7d configure.in, [...]: Ported to automake 1.9.
2004-08-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
	    Michael Koch  <konqueror@gmx.de>

	* configure.in,
	Makefile.am: Ported to automake 1.9.
	* Makefile.in:
	aclocal.m4
	configure
	gcj/Makefile.in
	include/Makefile.in
	testsuite/Makefile.in
	include/config.h.in:
	Regenerated.
	* gcc/doc/install.texi: Update entry about automake for libjava.

From-SVN: r86258
2004-08-19 18:12:25 +00:00
Tom Tromey 476a918f8c DatagramSocket.java: Fixed typo.
2004-08-19  Tom Tromey  <tromey@redhat.com>

	* java/net/DatagramSocket.java: Fixed typo.

From-SVN: r86244
2004-08-19 09:19:58 +00:00
Bryce McKinlay bb0452b187 re PR libgcj/17081 (Deserializing java.net.URI fails)
2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>

	PR libgcj/17081
	* java/net/URI.java (string): New field. Make all other fields
	transient.
	(readObject): Implemented.
	(writeObject): Implemented.
	(URI): Set 'string'.

From-SVN: r86197
2004-08-18 19:05:39 +01:00
Bryce McKinlay b4b3435ecc re PR libgcj/17079 ([PATCH] Log messages whose logging level is equal to the threshold discarded by java.util.logging.Handler)
2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>

	PR libgcj/17079
	* java/util/logging/Handler.java (isLoggable): Accept record if its
	log level equals the threshold level. From Robin Green.

From-SVN: r86187
2004-08-18 16:51:47 +01:00
David Daney 720086cd84 natPosixProcess.cc (waitForSignal): Use sigsuspend instead of sigwait.
2004-08-18  David Daney  <ddaney@avtrex.com>

	* java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend
	instead of sigwait.

From-SVN: r86186
2004-08-18 15:12:32 +00:00
Michael Koch baeff9708e Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
2004-08-17  Michael Koch  <konqueror@gmx.de>

	* Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
	* Makefile.in: Regenerated.

From-SVN: r86130
2004-08-17 16:10:02 +00:00
Tom Tromey 0e5b137624 re PR java/8473 (syntax error on anonymous array subscript)
PR java/8473:
	* testsuite/libjava.jacks/jacks.xfail: Removed passing test.

From-SVN: r86086
2004-08-16 23:57:30 +00:00
Michael Koch be170ef2ae 2004-08-16 Michael Koch <konqueror@gmx.de>
* Makefile.am
	(math_c_files): Renamed from c_files.
	(math_c_source_files): Renamed from c_source_files.
	* Makefile.in,
	gcj/Makefile.in,
	include/Makefile.in,
	testsuite/Makefile.in: Regenerated.

From-SVN: r86080
2004-08-16 21:19:04 +00:00
Bryce McKinlay 7614fd2824 configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory to avoid autoconf warning.
2004-08-16  Bryce McKinlay  <mckinlay@redhat.com>

	* configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
	to avoid autoconf warning.
	* configure: Rebuilt.

From-SVN: r86072
2004-08-16 19:59:57 +01:00
Andreas Tobler 1c5192e40c natInetAddressPosix.cc (lookup): Reflect rename of localhostAddress to loopbackAddress.
2004-08-14  Andreas Tobler  <a.tobler@schweiz.ch>

        * java/net/natInetAddressPosix.cc (lookup): Reflect rename of
        localhostAddress to loopbackAddress.
        * java/net/natInetAddressWin32.cc (lookup): Likewise.

From-SVN: r85982
2004-08-14 07:04:52 +02:00
Bryce McKinlay 4109fe8594 configure.in (GCINCS): Don't use "boehm-cflags".
libjava:
2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>

	* configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I
	boehm-gc's include dirs.
	* configure: Rebuilt.
	* include/boehm-gc.h: Include gc_config.h.

boehm-gc:
2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>

	* configure.ac (gc_cflags): Add -Iinclude.
	(AC_CONFIG_HEADERS): New. Configure gc_config.h header.
	Don't write DEFS to boehm-cflags file.
	* configure: Rebuilt.
	* gcj_mlc.c: Check #ifdef GC_GCJ_SUPPORT after including headers.
	* specific.c: Check #ifdef GC_LINUX_THREADS after including headers.
	* include/gc_config_macros.h: Remove backward-compatibility
	redefinitions of GC_ names.
	* include/gc.h: Include <gc_config.h>.

2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>

	Import Boehm GC version 6.3.

From-SVN: r85972
2004-08-14 00:05:36 +01:00
Bryce McKinlay d7945fafe3 InetAddress.java (loopbackAddress): Renamed from localhostAddress.
2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>

	* java/net/InetAddress.java (loopbackAddress): Renamed from
	localhostAddress.
	(getByName): Return loopback address for null hostname, without
	security check. Use lookup(), not getAllByName.
	(getAllByName): Return loopback address for null hostname, without
	security check.
	* java/net/natInetAddressPosix.cc (lookup): Don't perform security
	check here.

From-SVN: r85967
2004-08-13 23:17:34 +01:00
Bryce McKinlay 73389fa4a2 re PR libgcj/17020 (gij should ignore all reserved method flags)
PR libgcj/17020
	Reported by Robin Green.
	* defineclass.cc (handleField): Don't throw exception on
	unrecognised modifier. Add FIXME comments for spec compliance.
	(handleMethod): Likewise.

From-SVN: r85952
2004-08-13 19:26:00 +01:00
Hans Boehm 28e99c6271 re PR libgcj/16662 (IllegalMonitorStateException in EventQueue.getNextEvent(): possible hash synchronization bug?)
PR libgcj/16662
	* java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
	(Almost everywhere): add LOG calls, fix, add comments.
	(_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
	Add explicit check for LOCKED bit in slow case (PR 16662).
	(_Jv_MonitorExit): Add casts in debug-only code.
	Always release LOCKED bit before throwing exception.
	(_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
	isn't.  Handle easy cases without lock acquisition.
	(Object::wait): Use NotifyAll for lock inflation.

From-SVN: r85884
2004-08-12 17:56:32 +00:00
David Daney faa03cf1b4 Process_1.java: New test.
2004-08-03  David Daney  <ddaney@avtrex.com>

	* testsuite/libjava.lang/Process_1.java: New test.
	* testsuite/libjava.lang/Process_2.java: New test.
	* testsuite/libjava.lang/Process_3.java: New test.
	* testsuite/libjava.lang/Process_4.java: New test.
	* testsuite/libjava.lang/Process_5.java: New test.
	* testsuite/libjava.lang/Process_6.java: New test.
	* testsuite/libjava.lang/Process_1.out: Expected result.
	* testsuite/libjava.lang/Process_2.out: Expected result.
	* testsuite/libjava.lang/Process_3.out: Expected result.
	* testsuite/libjava.lang/Process_4.out: Expected result.
	* testsuite/libjava.lang/Process_5.out: Expected result.
	* testsuite/libjava.lang/Process_6.out: Expected result.

From-SVN: r85881
2004-08-12 16:24:56 +00:00
David Daney c58f29001d re PR libgcj/11801 (Problems with Process.waitFor() and exitValue())
2004-08-12  David Daney  <ddaney@avtrex.com>

	PR libgcj/11801
	* java/lang/PosixProcess.java: Rewrote.
	* java/lang/natPosixProcess.cc: Rewrote.
	* java/lang/Runtime.java (execInternal): Declare throws IOException.
	* gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
	* posix-threads.cc (block_sigchld) New function.
	(_Jv_ThreadRegister) Use it.
	(_Jv_ThreadStart) Use it.
	* configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
	* Makefile.am: ... to specify extra native headers.
	* configure: Regenerated.
	* include/config.h: Regenerated.
	* Makefile.in: Regenerated.
	* gcj/Makefile.in: Regenerated.
	* include/Makefile.in: Regenerated.
	* testsuite/Makefile.in: Regenerated.

From-SVN: r85880
2004-08-12 16:20:11 +00:00
Diego Novillo c597ef4eab re PR tree-optimization/16867 (Inline array initializer miscompilation at -O)
PR tree-optimization/16867
	* tree.c (is_global_var): New function.
	(needs_to_live_in_memory): Check for TREE_ADDRESSABLE.
	Call is_global_var.
	* tree.h (DECL_NEEDS_TO_LIVE_IN_MEMORY_INTERNAL): Remove.
	Update all users.
	(is_global_var): Declare.
	* tree-dfa.c (dump_variable): Display global and addressable
	attributes.
	(add_referenced_var): Clarify documentation when marking
	variables call-clobbered.
	* tree-flow-inline.h (is_call_clobbered): Call is_global_var
	instead of needs_to_live_in_memory.
	(mark_call_clobbered): If the variable is a tag, mark it
	DECL_EXTERNAL.
	* tree-gimple.c (is_gimple_reg): Don't check for
	TREE_ADDRESSABLE.
	(is_gimple_non_addressable): Likewise.
	* tree-ssa-alias.c (get_nmt_for): Always check whether the tag
	needs to be marked call-clobbered.
	(setup_pointers_and_addressables): Call is_global_var instead
	of needs_to_live_in_memory.
	* tree-ssa-dce.c (need_to_preserve_store): Remove.
	Update all users with is_global_var.
	(mark_stmt_if_obviously_necessary): Fix processing of aliased
	stores.  Don't check the virtual definitions.  Rather, check
	whether the store is going into global memory.
	(find_obviously_necessary_stmts): Get the symbol from the PHI
	result.
	* tree-ssa-operands.c (get_call_expr_operands): Do not add
	clobbering may-defs if the call does not have side effects.


libjava/ChangeLog

	PR tree-optimization/16867
	* testsuite/libjava.lang/PR16867.java: New test.

From-SVN: r85874
2004-08-12 10:34:11 -04:00
Per Bothner b4d49f49bf javaprims.h (_Jv_Utf8Const): Change struct to a class, with private fields and access methods.
* gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
	with private fields and access methods.
	(_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
	* gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
	* prims.cc (_Jv_Utf8COnst::init): New method implementation.
	( _Jv_makeUtf8Const): Rewrite using new constructors.
	(hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
	* defineclass.cc: Use new _Utf8Const access/convenience methods.
	* jni.cc: Likewise.
	* resolve.cc: Likewise.
	* gcj/field.h: Likewise.
	* include/jvm.h: Likewise.
	* java/lang/Class.h: Likewise.
	* java/lang/natClass.cc: Likwise.
	* java/lang/natClassLoader.cc: Likewise
	* java/lang/reflect/natMethod.cc: Likewise
	* verify.cc: Likewise.
	(_Jv_BytecodeVerifier::make_utf8_const):  Optimize.
	(~_Jv_BytecodeVerifier):  Don't need second _Jv_Free call.

From-SVN: r85854
2004-08-11 23:53:42 -07:00
Andrew Haley 7e04b67b77 err14.java: New file.
2004-08-10  Andrew Haley  <aph@redhat.com>

        * testsuite/libjava.lang/err14.java: New file.
        * testsuite/libjava.lang/err14.out: New file.

From-SVN: r85754
2004-08-10 14:26:56 +00:00
Andrew Haley 50ab464c2e err14.java: New file.
2004-08-10  Andrew Haley  <aph@redhat.com>

	* testsuite/libjava.lang/err14.java: New file.
	* testsuite/libjava.lang/err14.out: New file.

From-SVN: r85752
2004-08-10 14:21:05 +00:00
Andreas Tobler 48a8c56547 Makefile.am: Fix missing rename from x_nat_headers to xlib_nat_headers.
2004-08-05  Andreas Tobler  <a.tobler@schweiz.ch>

	* Makefile.am: Fix missing rename from x_nat_headers to
	xlib_nat_headers.
	* Makefile.in: Regenerated.

From-SVN: r85612
2004-08-05 23:27:07 +02:00
Andrew Haley 26be638d67 BasicPermission.java: Don't check wildcards.
2004-08-04  Andrew Haley  <aph@redhat.com>

        * java/security/BasicPermission.java: Don't check wildcards.

From-SVN: r85608
2004-08-05 17:51:11 +00:00
Thomas Fitzsimmons 614c0fc257 acinclude.m4: Correctly quote PKG_CHECK_MODULES.
2004-08-04  Thomas Fitzsimmons <fitzsim@redhat.com>
	    Michael Koch  <konqueror@gmx.de>

	* acinclude.m4: Correctly quote PKG_CHECK_MODULES.
	* configure.in: Replaced all usages of AC_LINK_FILES by
	AC_CONFIG_LINKS.
	* aclocal.m4,
	configure: Regenerated.

Co-Authored-By: Michael Koch <konqueror@gmx.de>

From-SVN: r85569
2004-08-04 19:30:13 +00:00
Thomas Fitzsimmons ff78c80b82 acconfig.h: Removed.
2004-08-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
	    Michael Koch  <konqueror@gmx.de>

	* acconfig.h: Removed.
	* Makefile.am: Rename variables for xlib peer to include xlib and
	gtk_c_headers to gtk_jni_headers.
	* Makefile.in: Regenerated.

Co-Authored-By: Michael Koch <konqueror@gmx.de>

From-SVN: r85566
2004-08-04 18:02:00 +00:00
Andrew Haley 76207f7c2b libjava.exp (bytecompile_file): Byte compile with debugging.
2004-08-04  Andrew Haley  <aph@redhat.com>

        * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
        debugging.

From-SVN: r85565
2004-08-04 16:49:21 +00:00
Paolo Bonzini 8fde06bb8c Reverted renaming of configure.in to configure.ac, has to wait
for updating of automake.

From-SVN: r85555
2004-08-04 12:05:07 +00:00
Paolo Bonzini 32daf59b44 configure.ac: New name of...
2004-08-04  Paolo Bonzini  <bonzini@gnu.org>

        * configure.ac: New name of...
	* configure.in: ... this file.

From-SVN: r85551
2004-08-04 09:57:09 +00:00
Nathanael Nerode aed6152d8c configure.in: Eliminate uses of changequote (mostly by quoting []).
* configure.in: Eliminate uses of changequote (mostly by quoting []).
	Replace most top level 'dnl' comments with '#' comments, conforming
	to new autoconf style.  Use AS_HELP_STRING throughout; improve a few
	help strings.
	* configure: Rebuilt.

From-SVN: r85540
2004-08-04 02:52:53 +00:00
Nathanael Nerode ed69811298 acinclude.m4: Include no-executables.m4.
* acinclude.m4: Include no-executables.m4.
	* aclocal.m4: Rebuild.
	* configure.in: Convert to the autoconf 2.59 version of
	of the no-executables hack, and also of the nonstandard CXX
	hack and the multilibbed CC and CXX hack.  Change prerequisite
	to autoconf 2.59.
	* configure: Rebuild with autoconf 2.59.  (Woo-hoo!)
	* Makefile.in, gcj/Makefile.in, include/Makefile.in,
	testsuite/Makefile.in: Regenerate.

From-SVN: r85495
2004-08-03 19:40:56 +00:00
Tom Tromey 8e9031ec4d * jni.cc: Reindented.
From-SVN: r85491
2004-08-03 17:38:30 +00:00
Bryce McKinlay 474f541727 Timestamp.java (valueOf): Synchronize access to dateFormat.
2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>

	* java/sql/Timestamp.java (valueOf): Synchronize access to
	dateFormat.

From-SVN: r85460
2004-08-03 01:21:26 +01:00
Bryce McKinlay 899deeca6c re PR java/16701 (Error when constant initializer depends on another constant with restricted access)
2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>

	PR java/16701
	* parse.y (fold_constant_for_init): Call resolve_field_access with
	correct current_class context.

2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>

	* testsuite/libjava.compile/PR16701.java: New test.

From-SVN: r85453
2004-08-02 22:20:46 +01:00
Andrew John Hughes b828123e23 Collection.java, [...]: Added additional exceptions to documentation.
2004-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>

	* java/util/Collection.java, java/util/List.java,
	java/util/Map.java, java/util/Set.java,
	java/util/SortedMap.java, java/util/SortedSet.java:
	Added additional exceptions to documentation.

From-SVN: r85403
2004-08-01 11:14:42 +00:00
Danny Smith 5b5662eea7 configure.in [...] (SYSTEMSPEC): Remove -lwsock32.
* configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
	* configure. Regenerate.
	* include/win32.h: Explicitly include winsock2.h
	* win32.cc (_Jv_platform_initialize): Require version 2.2 of
	Winsock api.

From-SVN: r85401
2004-08-01 04:29:31 +00:00
Michael Koch f370ef24f4 2004-07-30 Michael Koch <konqueror@gmx.de>
* java/util/zip/GZIPInputStream.java
	(GZIPInputStream): Increase buffer size to 4k.
	* java/util/zip/GZIPOutputStream.java
	(GZIPOutputStream): Likewise.
	* java/util/zip/Inflater.java
	(setInput): Merged formating with GNU classpath.
	* java/util/zip/InflaterInputStream.java
	(InflaterInputStream): Increase buffer size to 4k.
	(fill): Throw exception if stream ends early.
	(read): Merged endless-loop with GNU classpath.
	(skip): Increase buffer size to 2k.

From-SVN: r85340
2004-07-30 17:00:34 +00:00
Michael Koch 2afed683ea 2004-07-30 Michael Koch <konqueror@gmx.de>
* gnu/java/awt/EmbeddedWindow.java
	(addNotify): Use AccessController to allow execution of privileged
	code.

From-SVN: r85337
2004-07-30 14:50:50 +00:00
Michael Koch a639e504d8 MainThread.java: Explicitely import used classes.
2004-07-29  Michael Koch  <konqueror@gmx.de>

	* gnu/java/lang/MainThread.java:
	Explicitely import used classes.
	(args): Make it type String[].

From-SVN: r85299
2004-07-29 13:48:17 +00:00
Dalibor Topic 3de1919168 ComponentDataBlitOp.java, [...]: Cleaned up imports.
2004-07-29 Dalibor Topic <robilad@kaffe.org>

	* gnu/java/awt/ComponentDataBlitOp.java,
	gnu/java/beans/ExplicitBeanInfo.java,
	gnu/java/beans/IntrospectionIncubator.java,
	gnu/java/beans/editors/ColorEditor.java,
	gnu/java/beans/editors/FontEditor.java,
	gnu/java/beans/editors/NativeBooleanEditor.java,
	gnu/java/beans/editors/NativeByteEditor.java,
	gnu/java/beans/editors/NativeDoubleEditor.java,
	gnu/java/beans/editors/NativeFloatEditor.java,
	gnu/java/beans/editors/NativeIntEditor.java,
	gnu/java/beans/editors/NativeLongEditor.java,
	gnu/java/beans/editors/NativeShortEditor.java,
	gnu/java/beans/editors/StringEditor.java,
	gnu/java/io/ClassLoaderObjectInputStream.java,
	gnu/java/io/decode/Decoder.java,
	gnu/java/io/encode/Encoder.java,
	gnu/java/lang/ClassHelper.java,
	gnu/java/locale/Calendar.java,
	gnu/java/locale/Calendar_de.java,
	gnu/java/locale/Calendar_en.java,
	gnu/java/locale/Calendar_nl.java,
	gnu/java/locale/LocaleInformation_de.java,
	gnu/java/locale/LocaleInformation_en.java,
	gnu/java/locale/LocaleInformation_nl.java:
	Cleaned up imports.

From-SVN: r85293
2004-07-29 09:30:18 +00:00
Dalibor Topic 1cc49b1374 ComponentDataBlitOp.java, [...]: Cleaned up imports.
2004-07-29 Dalibor Topic <robilad@kaffe.org>

	* gnu/java/awt/ComponentDataBlitOp.java,
	gnu/java/beans/ExplicitBeanInfo.java,
	gnu/java/beans/IntrospectionIncubator.java,
	gnu/java/beans/editors/ColorEditor.java,
	gnu/java/beans/editors/FontEditor.java,
	gnu/java/beans/editors/NativeBooleanEditor.java,
	gnu/java/beans/editors/NativeByteEditor.java,
	gnu/java/beans/editors/NativeDoubleEditor.java,
	gnu/java/beans/editors/NativeFloatEditor.java,
	gnu/java/beans/editors/NativeIntEditor.java,
	gnu/java/beans/editors/NativeLongEditor.java,
	gnu/java/beans/editors/NativeShortEditor.java,
	gnu/java/beans/editors/StringEditor.java,
	gnu/java/io/ClassLoaderObjectInputStream.java,
	gnu/java/io/decode/Decoder.java,
	gnu/java/io/encode/Encoder.java,
	gnu/java/lang/ClassHelper.java,
	gnu/java/locale/Calendar.java,
	gnu/java/locale/Calendar_de.java,
	gnu/java/locale/Calendar_en.java,
	gnu/java/locale/Calendar_nl.java,
	gnu/java/locale/LocaleInformation_de.java,
	gnu/java/locale/LocaleInformation_en.java,
	gnu/java/locale/LocaleInformation_nl.java:
	Cleaned up imports.

From-SVN: r85292
2004-07-29 08:59:39 +00:00
Bryce McKinlay e90bcbf5e3 * NEWS: Updated with news up to GCC 3.4 release.
From-SVN: r85283
2004-07-29 03:50:36 +01:00
Bryce McKinlay 4d4fed15f8 README: Remove obsolete info.
2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>

	* README: Remove obsolete info. Update bug URL.
	* THANKS: Updated.

From-SVN: r85282
2004-07-29 03:13:04 +01:00
Bryce McKinlay 64d696b6da GetPropertyAction.java (setParameters): Renamed from 'setName'.
2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>

	* gnu/java/security/action/GetPropertyAction.java (setParameters):
	Renamed from 'setName'. New 2-argument form with default value.
	(run): Pass default 'value' parameter to System.getProperty().
	* gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
	typos.
	* gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
	not 'setName'.

From-SVN: r85274
2004-07-28 23:28:09 +01:00
Bryce McKinlay f0faf24b6a configure.in: Check for minimum GTK version 2.4 requirement.
2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>

	* configure.in: Check for minimum GTK version 2.4 requirement.
	* configure: Rebuilt.

From-SVN: r85269
2004-07-28 20:08:44 +01:00
Bryce McKinlay ce961468b7 TLtest.java: Reduce sleep time.
2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>

	* testsuite/libjava.lang/TLtest.java: Reduce sleep time.
	* testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
	Reduce sleep time.
	* testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
	compiler bug.
	* testsuite/libjava.lang/Thread_Interrupt.java: Remove old email
	address. Reduce sleep times. Synchronize with target threads before
	attempting to interrupt them. Don't try to calibrate yeild count,
	instead, always loop for a fixed time.
	* testsuite/libjava.lang/Thread_Join.java: Remove old email address.
	* testsuite/libjava.lang/Thread_Monitor.java: Likewise.
	* testsuite/libjava.lang/Thread_Wait.java: Likewise.
	* testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
	* testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
	* testsuite/libjava.lang/pr179.java: Likewise.
	* testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
	time. Remove upper bounds check on sleep time.

From-SVN: r85248
2004-07-28 03:44:06 +01:00
Bryce McKinlay 0954f3eb52 Thread_HoldsLock.java: New test case.
2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>

	* testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
	* testsuite/libjava.lang/Thread_HoldsLock.out: New.

From-SVN: r85234
2004-07-27 23:04:37 +01:00
Bryce McKinlay d078f7c010 File.java (toURI): Throw RuntimeException, not InternalError.
2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>

	* java/io/File.java (toURI): Throw RuntimeException, not
	InternalError.
	* java/lang/Runtime.java (exit): Qualify static sleep() call with
	class name, not instance.

From-SVN: r85227
2004-07-27 19:42:38 +01:00
Bryce McKinlay 8b66a9e980 Makefile.am: Add gnu/java/security/action/GetPropertyAction.java and...
2004-07-24  Bryce McKinlay  <mckinlay@redhat.com>

        * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
        and gnu/java/security/action/SetAccessibleAction.java.
        * Makefile.in: Rebuilt.

From-SVN: r85118
2004-07-24 17:43:45 +01:00
Bryce McKinlay ffe4e0376f prims.cc (_Jv_InitPrimClass): Don't create an array class.
2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>

	* prims.cc (_Jv_InitPrimClass): Don't create an array class.
	(_Jv_CreateJavaVM): Don't pass array vtable parameter to
	_Jv_InitPrimClass.
	(DECLARE_PRIM_TYPE): Don't declare array vtables.
	* include/jvm.h (struct _Jv_ArrayVTable): Removed.
	* java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.

From-SVN: r85109
2004-07-24 02:17:29 +01:00
Thomas Fitzsimmons ef05818b76 Makefile.am: Rename jar binary to fastjar.
2004-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>

	* Makefile.am: Rename jar binary to fastjar.
	* Makefile.in: Regenerate.
	* fastjar.texi: Rename references to jar binary with fastjar.

2004-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>

	* Make-lang.in: Replace rmic and rmiregistry references with
	grmic and grmiregistry.
	* gcj.texi: Likewise.

2004-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>

	* Makefile.am: Replace jar, rmic and rmiregistry references with
	gjar, grmic and grmiregistry.
	* configure.in: Likewise.
	* Makefile.in: Regenerate.
	* configure: Likewise.
	* gcj/Makefile.in: Likewise.
	* include/Makefile.in: Likewise.
	* testsuite/Makefile.in: Likewise.

From-SVN: r85101
2004-07-23 23:34:17 +00:00
Bryce McKinlay ec5c28ece1 Connection.java: Use GetPropertyAction for privileged getProperty calls.
2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>

	* gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
	for privileged getProperty calls.
	* java/io/ObjectOutputStream.java (getField): No longer static. Use
	SetAccessibleAction instead of anonymous class for doPrivileged
	call.
	(getMethod): Likewise.
	(setAccessible): New field. PrivilegedAction object to use when
	calling setAccessible.
	* java/io/ObjectStreamClass.java (calculateOffsets): Use
	SetAccessibleAction instead of anonymous class for diPrivileged
	call.
	(setFields): Likewise.
	(getClassUID): Likewise.
	(findMethod): Likewise.
	* gnu/java/security/action/GetPropertyAction.java: New class.
	* gnu/java/security/action/SetAccessibleAction.java: New class.

From-SVN: r85097
2004-07-23 23:20:14 +01:00