aboutsummaryrefslogtreecommitdiff
path: root/libjava
AgeCommit message (Collapse)AuthorFilesLines
2002-10-25natRuntime.cc (_Jv_SetDLLSearchPath): New function.Tom Tromey3-2/+49
* java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function. (_Jv_FindSymbolInExecutable): Removed argument name. (insertSystemProperties): Call _Jv_SetDLLSearchPath if java.library.path is set. * gij.cc (help): Document --showversion. (version): Don't exit. (main): Handle --showversion. Exit if --version given. From-SVN: r58520
2002-10-24Primes.java: Removed.Tom Tromey3-264/+5
* libjava.lang/Primes.java: Removed. * libjava.lang/Primes.out: Removed. From-SVN: r58498
2002-10-23jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.Tom Tromey2-8/+14
* jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment. (array_from_valist): Correctly handle promotion for jint, jlong, jfloat, and jdouble. From-SVN: r58476
2002-10-23For PR java/6388:Tom Tromey3-0/+20
* libjava.lang/pr6388.java: New file. * libjava.lang/pr6388.out: New file. From-SVN: r58475
2002-10-23natFileWin32.cc (attr): Use FindFirstFile( ) instead of GetFileAttributesEx( ↵Ranjit Mathew2-3/+12
) to find file length and... 2002-10-23 Ranjit Mathew <rmathew@hotmail.com> * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of GetFileAttributesEx( ) to find file length and modification times, as the latter is not present on Windows 95. From-SVN: r58466
2002-10-21Fix date, grrr.Michael Koch1-2/+1
From-SVN: r58346
2002-10-212002-10-11 Michael Koch <konqueror@gmx.de>Michael Koch4-48/+65
* java/net/URL.java (URL): Activate SecurityManager checks. (equals): Use URLStreamHandler implementation instead of doing it alone. This allows special protocol stream handlers to change default behaviour. (hashCode): Use URLStreamHandler implementation instead of doing it alone. This allows special protocol stream handlers to change default behaviour. * java/net/URLStreamHandler.java (equals): Implemented default URL equality check. (hostsEqual): Implemented default URL equality check. (hashCode): Implemented default URL hashCode algorithm. * java/net/natPlainDatagramSocketImpl.cc: No lines longer then 80 characters. From-SVN: r58345
2002-10-21aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): addedAdam Megacz7-259/+357
2002-10-20 Adam Megacz <adam@xwt.org> * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added * configure.in: enabled hash sync on Win32 * include/win32-threads.h (_Jv_ThreadId_t): added. * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit, heavy_lock_obj_finalization_proc, wait, notify, notifyAll): removed some posix-isms, use Thread::sleep() instead of usleep, added code to clear bottom three bits if platform has a broken linker. * include/win32-threads.h (_Jv_ThreadId_t): added. From-SVN: r58344
2002-10-20natRuntime.cc (insertSystemProperties): Added GCJ runtime property ↵Ranjit Mathew2-0/+10
"gnu.gcj.progname" containing the name used to... 2002-10-19 Ranjit Mathew <rmathew@hotmail.com> * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ runtime property "gnu.gcj.progname" containing the name used to invoke the current Java program (similar to argv[0] for C programs). From-SVN: r58343
2002-10-16re PR libgcj/8234 (ZipInputStream chokes when InputStream.read() returns ↵Tom Tromey3-0/+8
small chunks) Fix for PR libgcj/8234: * java/util/zip/natInflater.cc (reset): Reset avail_in. * java/util/zip/natDeflater.cc (reset): Reset avail_in. From-SVN: r58205
2002-10-15cvs commit fubar.Andrew Haley1-0/+1
From-SVN: r58178
2002-10-15Fix bad checkin.Andrew Haley1-1/+1
From-SVN: r58177
2002-10-15EvaluationOrder.java (EvaluationOrder): New.Andrew Haley3-0/+30
2002-10-15 Andrew Haley <aph@redhat.com> * libjava.lang/EvaluationOrder.java (EvaluationOrder): New. * libjava.lang/EvaluationOrder.out (EvaluationOrder): New. From-SVN: r58176
2002-10-14StaticConstructor.java: New.Andrew Haley3-0/+34
2002-10-14 Andrew Haley <aph@redhat.com> * libjava.lang/StaticConstructor.java: New. * libjava.lang/StaticConstructor.out: New. From-SVN: r58131
2002-10-13* mauve-libgcj: Enable Mauve tests that compile now.Mark Wielaard2-16/+9
From-SVN: r58100
2002-10-13* libjava.mauve/xfails: Remove tests that now XPASS.Mark Wielaard2-3/+4
From-SVN: r58099
2002-10-11re PR libgcj/8142 ('$' in class names vs. dlopen 'dynamic string tokens')Mark Wielaard2-1/+14
Fix for PR libgcj/8142 * java/lang/natClassLoader.cc (findClass): Skip inner classes when loading native modules. From-SVN: r58066
2002-10-102002-10-10 Michael Koch <konqueror@gmx.de>Michael Koch4-0/+36
* javax/swing/AbstractListModel.java (getListDataListeners): New stubbed method. javax/swing/DefaultBoundedRangeModel.java (getChangeListeners): New stubbed method. javax/swing/DefaultSingleSelectionModel.java (getChangeListeners): New stubbed method. From-SVN: r58011
2002-10-10cvsignore: New file to ignore files generated during build.Michael Koch3-1/+8
2002-10-10 Michael Koch <konqueror@gmx.de> * gcj/.cvsignore: New file to ignore files generated during build. * include/.cvsignore: New file to ignore files generated during build. From-SVN: r58003
2002-10-102002-10-08 Michael Koch <konqueror@gmx.de>Michael Koch9-18/+299
* java/net/HttpURLConnection.java (getPermission): New method. (getErrorStream): New stub method. (getHeaderFieldDate): New stub method. * java/net/Inet4Address.java: (isLinkLocalAddress): Typo fixed. * java/net/InetAddress.java: (readResolve): New stubbed method (for serialization). (isAnyLocalAddress): New stubbed method. (isLoopbackAddress): New stubbed method. (isLinkLocalAddress): New stubbed method. (isSiteLocalAddress): New stubbed method. (isMCGlobal): New stubbed method. (isMCNodeGlobal): New stubbed method. (isMCLinkLocal): New stubbed method. (isMCSiteLocal): New stubbed method. (isMCOrgLocal): New stubbed method. (getCanonicalHostName): New stubbed method. (getByAddress): Create instances of Inet4Address/Inet6Address, instead of InetAddress, documentation added. * java/net/MulticastSocket.java (getInterface): Removed FIXME. (getNetworkInterface): New method. (setNetworkInterface): New method. * java/net/NetworkInterface.java: (toString): Use property "line.separator" instead of "\n". * java/net/URLConnection.java (getContent): New stubbed method. * java/net/URLStreamHandler.java: (equals): New stubbed method. (hostsEqual): New stubbed method. (hashCode): New stubbed method. * java/net/natNetworkInterface.cc: (getRealNetworkInterfaces): Create Inet4Address object instead of InetAddress. From-SVN: r58002
2002-10-08interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of unsigned long ↵Ulrich Weigand2-1/+6
temporary to implement insn_iushr shifts. * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of unsigned long temporary to implement insn_iushr shifts. From-SVN: r57936
2002-10-08configure.host [s390*-*]: Enable Java interpreter.Ulrich Weigand3-0/+88
* configure.host [s390*-*]: Enable Java interpreter. Enable hash synchronization. Add sysdeps dir. * sysdep/s390/locks.h: New file. From-SVN: r57927
2002-10-07Thread.java (setDaemon): Check startable_flag, not isAlive().Mark Wielaard2-1/+6
* java/lang/Thread.java (setDaemon): Check startable_flag, not isAlive(). From-SVN: r57906
2002-10-07Buffer.java: New stub file.Michael Koch5-4/+56
2002-10-07 Michael Koch <konqueror@gmx.de> * java/nio/Buffer.java: New stub file. * java/nio/charset/spi/CharsetProvider.java: Commented out all usages of class Charset. * Makefile.am (java_native_source_files): Added java/nio/Buffer.java. * Makefile.in: Regenerated. From-SVN: r57901
2002-10-07ByteBuffer.java: removed import of not commited class.Michael Koch2-2/+5
2002-10-07 Michael Koch <konqueror@gmx.de> * java/nio/ByteBuffer.java: removed import of not commited class. From-SVN: r57900
2002-10-07ByteBuffer.java, [...]: New files, forgot to add these dummies.Michael Koch5-1/+100
2002-10-07 Michael Koch <konqueror@gmx.de> * java/nio/ByteBuffer.java, java/nio/MappedByteBuffer.java: New files, forgot to add these dummies. * Makefile.am (java_native_source_files): Added new files. * Makefile.in: Regenerated. From-SVN: r57899
2002-10-07AlreadyConnectedException.java, [...]: New file.Michael Koch18-0/+987
2002-10-07 Michael Koch <konqueror@gmx.de> * java/nio/channels/AlreadyConnectedException.java, java/nio/channels/ClosedChannelException.java, java/nio/channels/ReadableByteChannel.java, java/nio/channels/InterruptibleChannel.java, java/nio/channels/Channel.java, java/nio/channels/ByteChannel.java, java/nio/channels/GatheringByteChannel.java, java/nio/channels/ScatteringByteChannel.java, java/nio/channels/WritableByteChannel.java, java/nio/charset/CharacterCodingException.java, java/nio/charset/IllegalCharsetNameException.java, java/nio/charset/MalformedInputException.java, java/nio/charset/UnmappableCharacterException.java, java/nio/charset/UnsupportedCharsetException.java, java/nio/charset/spi/CharsetProvider.java: New file. These files are exceptions or interfaces, no real or abstract classes. * Makefile.am (java_native_source_files): Added new files. * Makefile.in: Regenerated. From-SVN: r57885
2002-10-052002-10-05 Michael Koch <konqueror@gmx.de>Michael Koch7-3/+800
* java/net/InetAddress.java (getByAddress): Fixed documentation. (getByAddress): New method. * java/net/Inet4Address.java: New file. * java/net/URL.java (URL): Documentation added. (getContent): Documentation added. (getContent): New stubbed method. (getQuery): New method. (openConnection): Documentation added. (openStream): Documentation added. (setURLStreamHandlerFactory): Documentation added. * java/net/URI.java: New stub file. * Makefile.am (java_native_source_files): Added java/net/Inet4Address.java, java/net/Inet6Address.java and java/net/URI.java. * Makefile.in: Regenerated. From-SVN: r57841
2002-10-04[multiple changes]Mark Wielaard10-11/+46
2002-10-04 C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu> * java/lang/ProtectionDomain.java (linesep): Remove field. (toString): Use System.getProperty("line.separator"). 2002-10-04 Michael Koch <konqueror@gmx.de> * java/security/Identity.java: Added serialVersionUID. * java/security/KeyPair.java: Added serialVersionUID. * java/security/Provider.java: Added serialVersionUID. * java/security/SecureRandom.java: Added serialVersionUID. * java/security/SecureRandomSpi.java: Added serialVersionUID. * java/security/SignedObject.java: Added serialVersionUID. * java/security/cert/Certificate.java: Added serialVersionUID. 2002-10-04 Mark Wielaard <mark@klomp.org> * java/security/Security.java: Use java.home or gnu.classpath.home to load providers. (loadProviders): Extra dir argument. (getProvider): Return null when not found. From-SVN: r57827
2002-10-04* java/lang/Throwable.java: Remerge with Classpath.Mark Wielaard2-14/+12
From-SVN: r57823
2002-10-042002-10-04 Michael Koch <konqueror@gmx.de>Michael Koch2-2/+50
* java/net/InetAddress.java: (isMulticastAddress): Added documentation. (getHostAddress): Added documentation. (toString): Added documentation. (getByAddress): Fixed documentation. (getByName): Added documentation. (getAllByName): Added documentation. (getLocalHost): Added documentation. From-SVN: r57814
2002-10-04BeanContextChildSupport.java: Added serialVersionUID.Michael Koch5-5/+20
2002-10-04 Michael Koch <konqueror@gmx.de> * java/beans/beancontext/BeanContextChildSupport.java: Added serialVersionUID. * java/text/Collator.java: (compare): Made documentation HTML-aware. * javax/naming/BinaryRefAddr.java: Added serialVersionUID. * javax/naming/Name.java: Added serialVersionUID. From-SVN: r57813
2002-10-03natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out some ↵Adam Megacz2-0/+9
functionality that isn't supported yet on WIN32. 2002-10-03 Adam Megacz <adam@xwt.org> * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out some functionality that isn't supported yet on WIN32. From-SVN: r57794
2002-10-03Makefile.in: Rebuilt.Tom Tromey3-6/+40
* Makefile.in: Rebuilt. * Makefile.am (awt_java_source_files): Added new files. From-SVN: r57781
2002-10-03InetAddress.java (class InetAddress): Removed final keyword.Michael Koch2-2/+31
2002-10-03 Michael Koch <konqueror@gmx.de> * java/net/InetAddress.java (class InetAddress): Removed final keyword. (equals): Fixed typo. (getByAddress): New method. From-SVN: r57779
2002-10-03Autoscroll.java: New file, merge from Classpath.Michael Koch13-4/+1182
2002-10-03 Michael Koch <konqueror@gmx.de> * java/awt/dnd/Autoscroll.java: New file, merge from Classpath. * java/awt/dnd/DragSourceAdapter.java: (dragExit): Fixed typos in argument type. (dragDropEnd): Fixed typos in argument type. * java/awt/dnd/DragSourceDropEvent.java: New file, merge from Classpath. * java/awt/dnd/DropTarget.java: Added stubs, merge from Classpath. * java/awt/dnd/DropTargetAdapter.java: New file, merge from Classpath. * java/awt/dnd/DropTargetContext.java: New file, merge from Classpath. * java/awt/dnd/DropTargetDragEvent.java: New file, merge from Classpath. * java/awt/dnd/DropTargetDropEvent.java: New file, merge from Classpath. * java/awt/dnd/DropTargetEvent.java: New file, merge from Classpath. * java/awt/dnd/DropTargetListener.java: New file, merge from Classpath. * java/awt/dnd/MouseDragGestureRecognizer.java: New file, merge from Classpath. * java/awt/dnd/peer/DropTargetContextPeer.java: New file, merge from Classpath. From-SVN: r57777
2002-10-032002-10-03 Michael Koch <konqueror@gmx.de>Michael Koch6-19/+46
* java/net/DatagramPacket.java (setLength): Fixed typo and be HTML-aware. * java/net/InetSocketAddress.java (InetSocketAddress): Correct initialization of hostname, fixed typo. (equals): Added comment about equality of InetSocketAddress objects. * java/net/ServerSocket.java (accept): Added checks. (isClosed): New stubbed method. * java/net/SocketOptions.java: Reindention. * java/net/SocketPermission (SocketPermission): Documentation fixed. From-SVN: r57776
2002-10-03Array_3.java (baz): New.Andrew Haley2-0/+24
2002-10-03 Andrew Haley <aph@redhat.com> * libjava.lang/Array_3.java (baz): New. (main): Call baz. From-SVN: r57774
2002-10-032002-09-30 Michael Koch <konqueror@gmx.de>Michael Koch7-126/+602
* java/net/DatagramSocket.java (receive): Check with SecurityManager AFTER the packet is received, check if connected to multicast address, documentation added. (send): Only check SecurityManager if connected, check address of packet to send. (connect): Implemented, documentation added. * java/net/Inet6Address.java: New file (not added yet to Makefile.am). * java/net/InetSocketAddress.java (whole file): Reindented. (hostname): New attribute. (InetSocketAddress): Initialize new attribute. (getAddress): Documentation added. (getHostName): Documentation added. (getPort): Documentation added. (hashCode): Documentation added. (isUnresolved): Documentation added. (toString): Conform to output of JDK 1.4.1, documentation added. * java/net/MulticastSocket.java (joinGroup): Removed FIXME, documentation added. (leaveGroup): Removed FIXME, documentation added. (send): Documentation added. * java/net/Socket.java (inputShutdown): New variable. (outputShutdown): New variable. (Socket): Initialize new variables. (getRemoteSocketAddress): Check if connected. (shutdownInput): Set new variable. (shutdownOutput): Set new variable. (isConnected): New method. (isClosed): New method. (isInputShutdown): New method. (isOutputShutdown): New method. * java/net/URLStreamHandler.java (URLStreamHandler): New method. (openConnection): Added documentation. (parseURL): Added documentation. (getHostAddress): New method. (getDefaultPort): New method. From-SVN: r57772
2002-10-02ActivationDesc.java, [...]: New versions from Classpath.Tom Tromey5-8/+20
* java/rmi/activation/ActivationDesc.java, java/rmi/activation/ActivationGroupDesc.java, java/rmi/activation/ActivationGroupID.java, java/rmi/activation/ActivationID.java: New versions from Classpath. From-SVN: r57752
2002-10-01locks.h (compare_and_swap): Fix multilib support.Bo Thorsen2-0/+11
2002-09-30 Bo Thorsen <bo@suse.de> * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support. From-SVN: r57682
2002-10-01ObjectInputStream.java (resolveProxyClass): New method from Classpath.Tom Tromey28-159/+1178
* java/io/ObjectInputStream.java (resolveProxyClass): New method from Classpath. * Makefile.in: Rebuilt. * Makefile.am (rmi_java_source_files): Added new files. * gnu/java/rmi/RMIMarshalledObjectInputStream.java, gnu/java/rmi/RMIMarshalledObjectOutputStream.java, gnu/java/rmi/server/ConnectionRunnerPool.java: New files from Classpath. * gnu/java/rmi/dgc/DGCImpl.java, gnu/java/rmi/dgc/DGCImpl_Skel.java, gnu/java/rmi/dgc/DGCImpl_Stub.java, gnu/java/rmi/registry/RegistryImpl_Skel.java, gnu/java/rmi/registry/RegistryImpl_Stub.java, gnu/java/rmi/server/RMIHashes.java, gnu/java/rmi/server/RMIObjectInputStream.java, gnu/java/rmi/server/RMIObjectOutputStream.java, gnu/java/rmi/server/UnicastConnection.java, gnu/java/rmi/server/UnicastConnectionManager.java, gnu/java/rmi/server/UnicastRef.java, gnu/java/rmi/server/UnicastServer.java, gnu/java/rmi/server/UnicastServerRef.java, java/rmi/MarshalledObject.java, java/rmi/server/RMIClassLoader.java, java/rmi/server/RemoteObject.java, java/rmi/server/UnicastRemoteObject.java, java/security/SecureClassLoader.java: Merged from Classpath. From-SVN: r57675
2002-09-30Add Proxy support.Anthony Green20-235/+2250
From-SVN: r57635
2002-09-28configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with a ↵Richard Earnshaw2-10/+15
single configuration. * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with a single configuration. From-SVN: r57611
2002-09-25re PR libgcj/7786 (TimeZone.getDSTSavings() from JDK1.4 not implemented)Jesse Rosenstock2-0/+21
2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu> * java/util/TimeZone.java (getDSTSavings): New method. Fixes PR libgcj/7786. From-SVN: r57518
2002-09-25re PR libgcj/7709 (NullPointerException in _Jv_ResolvePoolEntry)Jesse Rosenstock2-10/+17
2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu> * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check to see if `the_method == 0' before looking up vtable index. Fixes PR libgcj/7709. From-SVN: r57517
2002-09-25* java/lang/natClassLoader.cc:Tom Tromey4-4/+11
(_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec. * resolve.cc: Include NoClassDefFoundError.h, not ClassNotFoundException.h. (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec. * defineclass.cc: Don't include ClassNotFoundException.h. From-SVN: r57516
2002-09-25resolve.cc: Include StringBuffer.Tom Tromey2-12/+18
* resolve.cc: Include StringBuffer. (_Jv_ResolvePoolEntry): Use StringBuffer to create error string. From-SVN: r57515
2002-09-25boehm.cc (_Jv_MarkObj): Don't fail if class object has been allocated but ↵Tom Tromey2-1/+12
not initialized. * boehm.cc (_Jv_MarkObj): Don't fail if class object has been allocated but not initialized. From-SVN: r57514
2002-09-25re PR libgcj/7766 (ZipInputStream.available returns 0 immediately after ↵Jesse Rosenstock2-2/+18
construction) 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu> Fix for PR libgcj/7766: * java/util/zip/ZipInputStream.java (entryAtEOF): New field. (getNextEntry): Set it. (closeEntry): Likewise. (read): Likewise. (close): Likewise. (available): Use it. From-SVN: r57513