Commit Graph

3740 Commits

Author SHA1 Message Date
Eric Botcazou
67bbb1e122 * link.cc (link_symbol_table): Do not use intptr_t.
From-SVN: r91472
2004-11-29 17:06:57 +00:00
Mark Wielaard
c8387a9379 mauve-libgcj: Disable SpinnerListModel...
* mauve-libgcj: Disable SpinnerListModel, SwingUtilities and
       XMLDecoder tests which currently don't compile.

From-SVN: r91430
2004-11-28 22:41:53 +00:00
Andrew Haley
1daa567cf8 link.cc (ensure_class_linked): Conditionally compile _Jv_IsInterpretedClass on INTERPRETER.
2004-11-27  Andrew Haley  <aph@redhat.com>

	* link.cc (ensure_class_linked): Conditionally compile
	_Jv_IsInterpretedClass on INTERPRETER.
	(print_class_loaded): Likewise.
	(wait_for_state): Likewise.

	* include/jvm.h (ROUND): Move to here from include/java-interp.h.
	* include/java-interp.h (ROUND): Remove.

From-SVN: r91375
2004-11-27 12:37:32 +00:00
Tom Tromey
7cb21c1c12 natDebug.cc (getField): Don't qualify name.
* gnu/gcj/util/natDebug.cc (getField): Don't qualify name.
	* java/lang/Class.h (_Jv_Linker): Declare.
	(Class): Fix names of friends.
	(_Jv_getInterfaceMethod): Declare.

From-SVN: r91320
2004-11-26 02:27:54 +00:00
John David Anglin
f7fdebfbf6 libjava.exp (libjava_arguments): Add new global variable libjava_ld_library_path.
* testsuite/lib/libjava.exp (libjava_arguments): Add new global
	variable libjava_ld_library_path.
	(gcj_invoke, libjava_invoke): Use it to set ld_library_path.

From-SVN: r91314
2004-11-26 00:18:02 +00:00
Bryce McKinlay
5257260c2b ResourceBundle.java (BundleKey): Don't implement Cloneable.
2004-11-25  Bryce McKinlay  <mckinlay@redhat.com>

	* java/util/ResourceBundle.java (BundleKey): Don't implement
	Cloneable.
	(BundleKey.clone): Removed.
	(getBundle): Copy BundleKey using constructor, not clone().

From-SVN: r91304
2004-11-25 19:20:17 +00:00
Kelley Cook
767f726e10 libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Revert previous change.
2004-11-24  Kelley Cook  <kcook@gcc.gnu.org>

	* libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Revert previous change.
	* boehm-gc/configure: Regenerate.
	* libffi/configure: Regenerate.
	* libgfortran/configure: Regenerate.
	* libjava/configure: Regenerate.
	* libobjc/configure: Regenerate.
	* libstdc++-v3/configure: Regenerate.
	* zlib/configure: Regenerate.

From-SVN: r91293
2004-11-25 13:43:43 +00:00
Michael Koch
bef638f4d4 Makefile.am: Added most of javax.print again.
2004-11-25  Michael Koch  <konqueror@gmx.de>

	* Makefile.am: Added most of javax.print again.
	* Makefile.in: Regenerated.

From-SVN: r91288
2004-11-25 12:54:38 +00:00
Michael Koch
8f9bd7769a Makefile.am: Added most of javax.print again.
2004-11-25  Michael Koch  <konqueror@gmx.de>

	* Makefile.am: Added most of javax.print again.
	* Makefile.in: Regenerated.

From-SVN: r91286
2004-11-25 12:29:22 +00:00
Andrew Haley
fbd8fb2d03 Add missing file from gcj-abi-2-dev-branch merge
From-SVN: r91285
2004-11-25 11:54:53 +00:00
Andrew Haley
e0966a17a3 Add missing file from gcj-abi-2-dev-branch merge.
From-SVN: r91284
2004-11-25 11:50:45 +00:00
Tom Tromey
367390404d * Merged gcj-abi-2-dev-branch to trunk.
(Actual changes too large to list in the commit message;
see ChangeLog.)

From-SVN: r91270
2004-11-25 03:47:08 +00:00
R. Kelley Cook
4ef2718af7 Undo mistaken commit
From-SVN: r91201
2004-11-24 22:07:04 +00:00
Kelley Cook
2c92e90fa5 libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Import linux-gnu case from CVS libtool to always pass_all.
2004-11-24  Kelley Cook  <kcook@gcc.gnu.org>

	* libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Import linux-gnu case
	from CVS libtool to always pass_all.
	* boehm-gc/configure: Regenerate.
	* libffi/configure: Regenerate.
	* libgfortran/configure: Regenerate.
	* libjava/configure: Regenerate.
	* libobjc/configure: Regenerate.
	* libstdc++-v3/configure: Regenerate.
	* zlib/configure: Regenerate.

From-SVN: r91200
2004-11-24 22:04:38 +00:00
Kelley Cook
b2de8bb1d2 Makefile.in: Regenrate with Automake 1.9.3.
2004-11-24  Kelley Cook  <kcook@gcc.gnu.org>

	* Makefile.in: Regenrate with Automake 1.9.3.
	* aclocal.m4: Likewise.
	* configure: Regenerate.

From-SVN: r91195
2004-11-24 21:01:02 +00:00
Michael Koch
8a7228ee92 PolicyFile.java: New file.
2004-11-24  Michael Koch  <konqueror@gmx.de>

	* gnu/java/security/PolicyFile.java: New file.
	* Makefile.am: Added gnu/java/security/PolicyFile.java.
	* Makefile.in: Regenerated.

From-SVN: r91165
2004-11-24 15:08:13 +00:00
Michael Koch
58e594dca9 Character.java, [...]: Reorder "final static" to "static final".
2004-11-24  Michael Koch  <konqueror@gmx.de>

	* java/lang/Character.java, scripts/unicode-blocks.pl:
	Reorder "final static" to "static final".

From-SVN: r91153
2004-11-24 13:33:01 +00:00
Michael Koch
b1e6f04325 ResourceBundle.java: Reformatted.
2004-11-24  Michael Koch  <konqueror@gmx.de>

	* java/util/ResourceBundle.java: Reformatted.
	(tryBundle): Fixed javadoc.

From-SVN: r91152
2004-11-24 13:26:27 +00:00
Jeroen Frijters
9cf1276586 2004-11-24 Jeroen Frijters <jeroen@frijters.net>
* java/text/MessageFormat.java
	(formatInternal): Made private.

From-SVN: r91151
2004-11-24 12:22:32 +00:00
Michael Koch
7ef527365f 2004-11-24 Michael Koch <konqueror@gmx.de>
* java/nio/DirectByteBufferImpl.java
	(ReadWrite.ReadWrite): New constructor.
	(DirectByteBufferImpl): Likewise.
	* jni.cc (_Jv_JNI_NewDirectByteBuffer):
	Use DirectByteBufferImpl.ReadWrite.
	* Makefile.am:
	Generate java/nio/DirectByteBufferImpl$ReadWrite.h.
	* Makefile.in: Rgenerated.

From-SVN: r91150
2004-11-24 12:19:42 +00:00
Jeroen Frijters
b4345a57d8 2004-11-24 Jeroen Frijters <address@bogus.example.com>
* java/nio/DirectByteBufferImpl.java
	(ReadOnly): New inner subclass.
	(ReadWrite): New inner subclass.
	(owner): Made final and private.
	(address): Made final.
	(DirectByteBufferImpl(int)): New constructor.
	(DirectByteBufferImpl(Object,RawData,int,int,int)): New constructor.
	(DirectByteBufferImpl(Object,RawData,int,int,int,boolean)): Removed.
	(allocate): Modified to instantiate ReadWrite subclass.
	(finalize): Fixed to only free the buffer, if we own it.
	(put): Removed read-only check.
	(slice, duplicate): Modified to instantiate appropriate subclass.
	(isReadOnly): Removed.
	* java/nio/MappedByteBufferImpl.java
	(slice, duplicate): Modified to instantiate appropriate
	DirectByteBufferImpl subclass.

From-SVN: r91147
2004-11-24 11:11:46 +00:00
Michael Koch
11dde1bb18 NIOServerSocket.java: Added email to @author tag.
2004-11-24  Michael Koch  <konqueror@gmx.de>

	* gnu/java/nio/NIOServerSocket.java: Added email to @author tag.
	* java/nio/DirectByteBufferImpl.java:
	Moved native methods to java.nio.VMDirectByteBuffer class.
	* java/nio/MappedByteBufferImpl.java:
	Use native methods from java.nio.VMDirectByteBuffer class.
	* java/nio/VMDirectByteBuffer.java: New file,
	* java/nio/natDirectByteBufferImpl.cc:
	Moved all methods into java.nio.VMDirectByteBuffer class.
	* java/nio/channels/spi/AbstractSelectableChannel.java
	(register): Only re-use valid keys.
	* Makefile.am: Added java/nio/VMDirectByteBuffer.java.
	* Makefile.in: Regenerated.

From-SVN: r91146
2004-11-24 10:44:18 +00:00
Michael Koch
b38cd28c43 DirectByteBufferImpl.java, [...]: Reformatted.
2004-11-24  Michael Koch  <konqueror@gmx.de>

	* java/nio/DirectByteBufferImpl.java,
	java/nio/MappedByteBufferImpl.java:
	Reformatted.

From-SVN: r91141
2004-11-24 09:13:33 +00:00
John David Anglin
1df8e83465 target-libpath.exp: New file defining set_ld_library_path_env_vars and restore_ld_library_path_env_vars.
* lib/target-libpath.exp: New file defining set_ld_library_path_env_vars
	and restore_ld_library_path_env_vars.
	* g++.dg/compat/compat.exp, lib/g++.exp, lib/gcc-dg.exp,
	lib/gfortran.exp, lib/objc.exp, lib/treelang.exp: Use new procs.
	* ada/acats/run_acats (LD_LIBRARY_PATH): Add previous LD_LIBRARY_PATH
	to LD_LIBRARY_PATH.  Export LD_LIBRARY_PATH.

	* testsuite/lib/libffi-dg.exp: Use new procs in target-libpath.exp.

	* testsuite/lib/libjava.exp,
	testsuite/libjava.jacks/jacks.exp: Use new procs in target-libpath.exp.

	* testsuite/lib/libmudflap.exp: Use new procs in target-libpath.exp.

	* testsuite/lib/libstdc++.exp: Use new procs in target-libpath.exp.

From-SVN: r91137
2004-11-24 04:39:41 +00:00
Richard Sandiford
a996709e40 o32.S (ffi_call_O32, [...]): Use jalr instead of jal.
* src/mips/o32.S (ffi_call_O32, ffi_closure_O32): Use jalr instead
        of jal.  Use an absolute encoding for the frame information.

        * configure.host: Enable the interpreter for mips*-*-linux*.

From-SVN: r91116
2004-11-23 23:18:14 +00:00
Michael Koch
f8af9e2861 String.java (rehash): Removed.
2004-11-23  Michael Koch  <konqueror@gmx.de>

	* java/lang/String.java (rehash): Removed.
	* java/lang/natString.cc (rehash): Made static.
	(_Jv_NewStringUtf8Const): Use static rehash method.

From-SVN: r91104
2004-11-23 21:33:01 +00:00
Michael Koch
5dc9b36b97 Makefile.in, [...]: Regenerated.
2004-11-23  Michael Koch  <konqueror@gmx.de>

	* Makefile.in, aclocal.m4, configure, gcj/Makefile.in,
	include/Makefile.in, testsuite/Makefile.in: Regenerated.

From-SVN: r91103
2004-11-23 21:20:49 +00:00
Eric Botcazou
f3968b056e re PR target/18444 (Multithreading broken on Unix95-class platforms)
PR target/18444
	* configure.ac (threading): Accept 'posix95'.
	* configure: Regenerate.

From-SVN: r91042
2004-11-22 22:30:14 +00:00
Michael Koch
392cd098c5 2004-11-22 Michael Koch <konqueror@gmx.de>
* gnu/java/nio/SocketChannelImpl.java
	(read): Made check for blocking un-ambiguous.
	Removed wrong check for data array length.

From-SVN: r91028
2004-11-22 20:32:56 +00:00
Michael Koch
926253eeca 2004-11-21 Michael Koch <konqueror@gmx.de>
* gnu/java/nio/SocketChannelImpl.java
	(read): Only return 0 when no bytes for reading available in
	non-blocking mode.
	* java/nio/channels/SocketChannel.java:
	Added some missing @return tags.

From-SVN: r90986
2004-11-21 20:19:59 +00:00
Michael Koch
f146ac0af8 2004-11-21 Michael Koch <konqueror@gmx.de>
* java/beans/PropertyChangeSupport.java
	(propertyChangeSupportSerializedDataVersion): Made static.
	* java/beans/VetoableChangeSupport.java
	(propertyChangeSupportSerializedDataVersion): Likewise.

From-SVN: r90983
2004-11-21 19:05:16 +00:00
Jeroen Frijters
6e5b508490 2004-11-18 Jeroen Frijters <jeroen@frijters.net>
* java/net/URLStreamHandler.java
	(parseURL): Fixed file path canonicalisation.

From-SVN: r90880
2004-11-18 20:24:33 +00:00
Michael Koch
c521478a73 2004-11-18 Jeroen Frijters <jeroen@frijters.net>
* java/net/URLStreamHandler.java
	(parseURL): Fixed file path canonicalisation.

From-SVN: r90879
2004-11-18 19:39:58 +00:00
Michael Koch
c4cb37ead8 URLClassLoader.java: Whitespace cleanup.
2004-11-18  Michael Koch  <konqueror@gmx.de>

	* java/net/URLClassLoader.java: Whitespace cleanup.

From-SVN: r90877
2004-11-18 19:00:32 +00:00
Robert Schuster
fbddd18f63 Complete 1.4 support
2004-11-18  Robert Schuster <address@bogus.example.com>

	Complete 1.4 support
	* java/beans/PropertyDescriptor.java:
	(setReadMethod): New method
	(setWriteMethod): New method
	(equals): Implemented (1.4)
	(checkMethods): operates on arguments now (private)

From-SVN: r90876
2004-11-18 18:26:54 +00:00
Mattias Rehnberg
4fdb8244ae Inet6Address.java (getHostAddress): Fix textual representation of IPv6 address with embedded zeroes to conform to...
2004-11-18  Mattias Rehnberg  <Mattias.Rehnberg@home.se>

	* java/net/Inet6Address.java (getHostAddress): Fix textual
	representation of IPv6 address with embedded zeroes
	to conform to RFC 2373.

From-SVN: r90874
2004-11-18 16:11:40 +00:00
Jeroen Frijters
a734981608 StackTraceElement.java: Made final.
2004-11-18  Jeroen Frijters  <address@bogus.example.com>

	* java/lang/StackTraceElement.java: Made final.
	* java/nio/channels/Channels.java: Added private constructor.
	* java/rmi/Naming.java: Added private constructor.
	* java/rmi/registry/LocateRegistry.java: Added private constructor.
	* java/rmi/server/RMIClassLoader.java: Added private constructor.
	* java/security/KeyPairGeneratorSpi.java
	(clone): Made protected and simplified implementation.
	* java/text/DateFormat.java
	(allFields): Made package accessible.
	* java/text/DecimalFormat.java
	(formatInternal): Made private.
	* java/text/Format.java
	(formatInternal): Made private.
	* java/util/logging/Handler.java: Made constructor protected.
	* java/util/regex/Matcher.java: Made final.
	* java/util/regex/Pattern.java: Made final.
	* javax/crypto/CipherInputStream.java
	(mark): Corrected mark parameter type (from long to int).
	* javax/crypto/ExemptionMechanism.java
	(finalize): Added.
	* javax/crypto/Mac.java
	(getMacLength): Made final.
	(clone): Made final.
	* javax/imageio/ImageIO.java: Added private constructor.
	* javax/imageio/stream/ImageInputStreamImpl.java
	(checkClosed): Made final.
	* javax/net/ssl/SSLPermission.java: Made final.
	* javax/print/DocFlavor.java
	(hostEncoding): Added work-around to prevent the field from being
	a compile time constant.
	* javax/print/attribute/AttributeSetUtilities.java: Added private
	constructor.
	(UnmodifiableDocAttributeSet): Made private.
	(UnmodifiablePrintJobAttributeSet): Made private.
	(UnmodifiablePrintRequestAttributeSet): Made private.
	(UnmodifiablePrintServiceAttributeSet): Made private.
	(SynchronizedAttributeSet): Made private.
	(SynchronizedDocAttributeSet): Made private.
	(SynchronizedPrintJobAttributeSet): Made private.
	(SynchronizedPrintRequestAttributeSet): Made private.
	(SynchronizedPrintServiceAttributeSet): Made private.
	* javax/security/auth/PrivateCredentialPermission.java: Made final.

From-SVN: r90866
2004-11-18 15:26:45 +00:00
Craig Black
f0b4747b4c BeanInfoEmbryo.java: Use TreeMap for proper sorting.
2004-11-18  Craig Black  <craig.black@aonix.com>

	* gnu/java/beans/BeanInfoEmbryo.java: Use TreeMap for proper sorting.

From-SVN: r90858
2004-11-18 12:53:12 +00:00
Kriang Lerdsuwanakij
21a0c6e02e Makefile.am: Correct friend function declaration.
* Makefile.am: Correct friend function declaration.
	* Makefile.in: Regenerated.
	* include/boehm-gc.h (JV_MARKOBJ_DECL, JV_MARKARRAY_DECL): Add
	scope to function names.  Declare functions directly.
	* libjava/java/lang/Class.h
	(java::lang::Class): Correct friend class declaration.
	(_Jv_InitClass, _Jv_GetArrayClass): Move definition to global
	scope.
	* libjava/java/lang/Class.h
	(java::lang::Object): Correct friend class declaration.

From-SVN: r90849
2004-11-18 05:37:13 +00:00
David Daney
188cd44d12 BufferedInputStream.java (skip): Return zero on EOF.
2004-11-17  David Daney  <ddaney@avtrex.com>

	* java/io/BufferedInputStream.java (skip): Return zero on EOF.

From-SVN: r90832
2004-11-17 23:51:18 +00:00
Michael Koch
ff6e1bc0aa Socket.java (getPort): Return 0 in error case.
2004-11-17  Michael Koch  <konqueror@gmx.de>

	* java/net/Socket.java (getPort): Return 0 in error case.

From-SVN: r90805
2004-11-17 12:08:31 +00:00
Michael Koch
4dbbd945e0 2004-11-17 Michael Koch <konqueror@gmx.de>
*  java/nio/DirectByteBufferImpl.java
	(owner): Updated comment.
	(allocate): New method.

From-SVN: r90804
2004-11-17 11:57:55 +00:00
Michael Koch
f6bf324df0 URL.java (URL): Handle case when argument is null.
2004-11-17  Michael Koch  <konqueror@gmx.de>

	* java/net/URL.java (URL): Handle case when argument is null.

From-SVN: r90800
2004-11-17 08:40:53 +00:00
Michael Koch
866212e722 Beans.java, [...]: Fixed javadocs.
2004-11-17  Michael Koch  <konqueror@gmx.de>

	* java/beans/Beans.java,
	java/beans/PropertyChangeEvent.java,
	java/beans/PropertyEditorSupport.java:
	Fixed javadocs.

From-SVN: r90799
2004-11-17 08:17:20 +00:00
Michael Koch
2cc07ffcf1 Timer.java (DEFAULT_SIZE): Made static.
2004-11-17  Michael Koch  <konqueror@gmx.de>

	* java/util/Timer.java (DEFAULT_SIZE): Made static.

From-SVN: r90798
2004-11-17 08:11:22 +00:00
Michael Koch
879245b6b2 InetAddress.java (getCanonicalHostName): Support IPv6 addresses.
2004-11-17  Michael Koch  <konqueror@gmx.de>

	* java/net/InetAddress.java (getCanonicalHostName):
	Support IPv6 addresses.

From-SVN: r90793
2004-11-17 07:09:57 +00:00
Michael Koch
0b43493272 Object.java: Added javadocs all over (merged from GNU classpath).
2004-11-16  Michael Koch  <konqueror@gmx.de>

	* java/lang/Object.java: Added javadocs all over (merged from GNU
	classpath).

From-SVN: r90766
2004-11-16 21:37:29 +00:00
Andreas Tobler
fd9065b2ef Security.java (Security): Silence the warning about no providers found in the no debug case.
2004-11-16  Andreas Tobler  <a.tobler@schweiz.ch>

	* java/security/Security.java (Security): Silence the warning about no
	providers found in the no debug case.

From-SVN: r90765
2004-11-16 22:31:55 +01:00
Michael Koch
0a56af0b24 2004-11-16 Michael Koch <konqueror@gmx.de>
* java/net/InetAddress.java
	(toString): Merged from GNU classpath.

From-SVN: r90743
2004-11-16 15:33:49 +00:00
Michael Koch
c1d36a8934 Area-1.png, [...]: New files.
2004-11-16  Michael Koch  <konqueror@gmx.de>

	* java/awt/geom/doc-files/Area-1.png,
	java/awt/geom/doc-files/Ellipse-1.png,
	java/awt/geom/doc-files/GeneralPath-1.png:
	New files.

From-SVN: r90742
2004-11-16 15:28:57 +00:00