aboutsummaryrefslogtreecommitdiff
path: root/libjava
AgeCommit message (Collapse)AuthorFilesLines
2002-11-04utilTest.java: New.Andrew Haley3-0/+66
2002-11-04 Andrew Haley <aph@redhat.com> * libjava.lang/utilTest.java: New. * libjava.lang/utilTest.out: New. From-SVN: r58795
2002-11-04More test code.Anthony Green4-0/+40
From-SVN: r58793
2002-11-04ClassLoader.java (loadClass): Call loadClass on VMClassLoader, not findClass.Tom Tromey2-8/+17
* java/lang/ClassLoader.java (loadClass): Call loadClass on VMClassLoader, not findClass. From-SVN: r58786
2002-11-04Add missing file.Anthony Green1-1/+2
From-SVN: r58784
2002-11-04New test codeAnthony Green1-0/+5
From-SVN: r58783
2002-11-04New tests.Anthony Green2-0/+52
From-SVN: r58782
2002-11-04resolve.cc (METHOD_NOT_THERE, [...]): Remove.Jeff Sturm3-227/+15
* resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove. (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not _Jv_DetermineVTableIndex, to determine vtable offset. (_Jv_DetermineVTableIndex): Remove. (_Jv_PrepareClass): Don't layout vtable. Use _Jv_MakeVTable instead. * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove. From-SVN: r58780
2002-11-04New files.Anthony Green8-0/+147
From-SVN: r58778
2002-11-03AlreadyConnectedException.java: Extend IllegalStateException, per spec.Tom Tromey2-5/+8
* java/nio/channels/AlreadyConnectedException.java: Extend IllegalStateException, per spec. From-SVN: r58773
2002-11-03GNU Classpath merge.Mark Wielaard9-32/+109
2002-10-31 Stephen Crawley <crawley@dstc.edu.au> * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)). 2002-10-31 Wu Gansha <gansha.wu@intel.com>: * java/util/ArrayList.java (readObject, writeObject): Only read/write size items. 2002-10-31 Wu Gansha <gansha.wu@intel.com>: * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an initial estimated size to avoid enlarge buffer frequently. 2002-10-31 Wu Gansha <gansha.wu@intel.com>: * java/lang/reflect/Proxy.java (ProxyType): Set loader to System ClassLoader when null. (ProxyType.hashCode): Loader null check no longer needed. (ProxyType.sameTypes): New method. (ProxyType.equals): Use new method. 2002-10-31 Mark Wielaard <mark@klomp.org> * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to length of String. * java/net/URLEncoder.java (encode): Likewise. 2002-10-31 Mark Wielaard <mark@klomp.org> * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException when stream is closed. (closeEntry): Likewise. (read): Likewise. * java/util/zip/ZipOutputStream.java (putNextEntry): Throw ZipException when no entry active. (closeEntry): Likewise. (write): Likewise. From-SVN: r58772
2002-11-03initexc.java (fail): Static initializers must be able to complete normally.Tom Tromey2-1/+6
* libjava.lang/initexc.java (fail): Static initializers must be able to complete normally. From Eric Blake. From-SVN: r58765
2002-11-02Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.Tom Tromey3-5/+8
* java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE. * java/lang/natClass.cc (initializeClass): Don't return just because self==thread. From-SVN: r58763
2002-11-02initexc.java: New file.Tom Tromey3-0/+40
* libjava.lang/initexc.java: New file. * libjava.lang/initexc.out: New file. From-SVN: r58761
2002-11-02For PR java/8415:Tom Tromey3-5/+9
* java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass. * prims.cc (_Jv_FindClassFromSignature): Indentation fix. From-SVN: r58757
2002-11-02Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do pass GCJFLAGS.Andreas Schwab3-6/+15
* Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do pass GCJFLAGS. (FLAGS_TO_PASS): Define. * Makefile.in: Regenerated. From-SVN: r58752
2002-11-02For PR java/8415:Tom Tromey3-0/+20
* libjava.lang/pr8415.java: New file. * libjava.lang/pr8415.out: New file. From-SVN: r58732
2002-11-01mauve.exp (find_mauve_sources): New proc.Tom Tromey2-2/+23
* libjava.mauve/mauve.exp (find_mauve_sources): New proc. (test_mauve): Use it. (test_mauve_sim): Likewise. From-SVN: r58725
2002-11-01ByteOrder.java: New file.Michael Koch21-8/+1166
2002-11-01 Michael Koch <konqueror@gmx.de> * java/nio/ByteOrder.java: New file. * java/nio/channels/DatagramChannel.java: (DatagramChannel): New constructor. * java/nio/channels/Pipe.java: New file. * java/nio/channels/SelectableChannel.java: New file. * java/nio/channels/SelectionKey.java: New file. * java/nio/channels/Selector.java: New file. * java/nio/channels/ServerSocketChannel.java (ServerSocketChannel): New constructor. * java/nio/channels/SocketChannel.java (SocketChannel): New constructor. * java/nio/channels/Pipe.java: New file. * java/nio/channels/spi/AbstractChannel.java: New file. * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file. * java/nio/channels/spi/AbstractSelectableChannel.java: License added (AbstractSelectableChannel): New stubbed method. * java/nio/channels/spi/AbstractSelectionKey.java: New file. * java/nio/channels/spi/AbstractSelector.java: New file. * java/nio/channels/spi/SelectorProvider.java: New file. * java/nio/charset/Charset.java: New file. * java/nio/charset/CoderMalfunctionError.java: New file. * java/nio/charset/CodingErrorAction.java: New file. * java/nio/charset/spi/CharsetProvider.java (charsetForName): Uncommented. * Makefile.am (java_native_source_files): Added new files. * Makefile.in: Regenerated. From-SVN: r58713
2002-11-012002-11-01 Michael Koch <konqueror@gmx.de>Michael Koch6-30/+215
* java/net/InetAddress.java: (isAnyLocalAddress): Implemented. (isLoopbackAddress): Implemented, comment added. (isLinkLocalAddress): Implemented, documentation added. (isSiteLocalAddress): Implemented, documentation added. (isMCGlobal): Implemented, documentation added. (isMCNodeLocal): Implemented, documentation added. (isMCLinkLocal): Implemented, documentation added. (isMCSiteLocal): Implemented, documentation added. (isMCOrgLocal): Implemented, documentation added. (getHostName): Documentation added. (getCanonicalHostName): Implemented, documentation added. (getAddress): Documentation added. (hashCode): Documentation added. (equals): Documentation added. (toString): Fixed implementation. (getByAddress): Use Inet4Address and Inet6Address. (lookup): New linewrap. (getByName): SecurityManager check added, support Inet4Address and Inet6address, comments added. (getAllByName): SecurityManager check added, comments added. * java/net/Inet6Address.java: (Inet6Address): Initialize parent class with addr instead of null. * java/net/URL.java (equals): Documentation added. (getFile): Documentation added. (hashCode): Documentation added. * java/net/natInetAddress.cc: (aton): Fix IPv6 support. * java/net/natPlainDatagramSocketImpl.cc: (peek): Throw PortUnreachableException when suitable. (peekData): Throw PortUnreachableException when suitable. (send): Throw PortUnreachableException when suitable. (receive): Throw PortUnreachableException when suitable. From-SVN: r58704
2002-10-31ZipFile.java (readLeShort): Take and use DataInput as argument.Mark Wielaard2-39/+71
* java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as argument. (readLeShort): Likewise and use byte[]. (readLeInt): Likewise. (readEntries): Use new versions of methods and use byte[] for reading a complete zip entry. Add ZipFile name to exceptions. (entries): Add ZipFile name to exceptions. (getEntry): Likewise. (checkLocalHeader): Use new versions of methods and add ZipFile name to exceptions. From-SVN: r58697
2002-10-31GridBagLayout.java (setConstraints): New stubbed method addedMark Anderson2-0/+9
2002-10-31 Mark Anderson <mark@panonet.net> * java/awt/GridBagLayout.java (setConstraints): New stubbed method added From-SVN: r58686
2002-10-29configure.in: Disable hash sync when not using threads.Krister Walfridsson3-2/+7
* configure.in: Disable hash sync when not using threads. * configure: Regenerated. From-SVN: r58641
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