summaryrefslogtreecommitdiffstats
path: root/libjava
Commit message (Collapse)AuthorAgeFilesLines
* 2003-02-13 Casey Marshall <rsdio@metastatic.org>tromey2003-02-132-3/+10
| | | | | | | | PR libgcj/9271: * java/security/SecureRandom.java (next): Avoid bias in results. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62851 138bc75d-0d04-0410-961f-82ee72b054a4
* * libjava.mauve/xfails: Added entries for an unimplemented Classtromey2003-02-132-0/+7
| | | | | | | method. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62843 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-13 Michael <konqueror@gmx.de>mkoch2003-02-133-29/+228
| | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/java/nio/FileChannelImpl.java (lengthInternal): Must be native. (size): Check if channel is already closed. (implCloseChannel): Reformated. (read): w was unused, removed it. (read): Removed. (read): New method. (write): New method. (map): Check arguments. (force): Throws IOException, check if channel is closed. (transferTo): New method. (transferFrom): New method. (lock): New method. (tryLock): New method. (position): New method. (truncate): New method. (nio_mmap_file): Uncommented. (nio_munmap_file): Uncommented. (nio_msync): Uncommented. * gnu/java/nio/natFileChannelImpl.cc: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62841 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-13 Michael Koch <konqueror@gmx.de>mkoch2003-02-133-6/+428
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * java/nio/ByteBuffer.java (endian): New member variable. (get): New methods. (equals): New method. (compareTo): New method. (order): New methods. (compact): New method. (isDirect): New method. (slice): New method. (duplicate): New method. (asReadOnlyBuffer): New method. (asCharBuffer): New method. (asDoubleBuffer): New method. (asFloatBuffer): New method. (asIntBuffer): New method. (asLongBuffer): New method. (asShortBuffer): New method. (get*): New methods. (put*): New methods. (toString): New method. * java/nio/CharBuffer.java (CharBuffer): Implement Comparable instead of Cloneable. (get): May not be final. (put): May not be final. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62836 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-02-13 Ranjit Mathew <rmathew@hotmail.com>mark2003-02-132-1/+8
| | | | | | | | | | * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use lastIndexOf( ) instead of indexOf( ) to find the colon before the line number, because Win32 file names might contain a drive letter and a colon at the start of an absolute path. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62834 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-13 Michael Koch <konqueror@gmx.de>mkoch2003-02-132-18/+8
| | | | | | | | | * gnu/java/nio/natSocketChannelImpl.cc (SocketConnect): This is not implemented yet. (SocketBind): This is not implemented yet. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62833 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-13 Michael Koch <konqueror@gmx.de>mkoch2003-02-1313-0/+148
| | | | | | | | | | | | | | | | | | | | | * gnu/java/nio/natByteBufferImpl.cc, gnu/java/nio/natCharBufferImpl.cc, gnu/java/nio/natDoubleBufferImpl.cc, gnu/java/nio/natFloatBufferImpl.cc, gnu/java/nio/natIntBufferImpl.cc, gnu/java/nio/natLongBufferImpl.cc, gnu/java/nio/natShortBufferImpl.cc: Added copyright and license. * java/nio/DoubleBuffer.java, java/nio/FloatBuffer.java, java/nio/IntBuffer.java, java/nio/LongBuffer.java, java/nio/ShortBuffer.java (array): Throw exceptions. (arrayOffset): Throw exceptions. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62832 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-13 Michael Koch <konqueror@gmx.de>mkoch2003-02-1317-1/+3410
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/java/util/prefs/FileBasedFactory.java, gnu/java/util/prefs/MemmoryBasedFactory.java, gnu/java/util/prefs/MemoryBasedPreferences.java, gnu/java/util/prefs/NodeReader.java, gnu/java/util/prefs/NodeWriter.java, java/util/prefs/AbstractPreferences.java, java/util/prefs/BackingStoreException.java, java/util/prefs/InvalidPreferencesFormatException.java, java/util/prefs/NodeChangeEvent.java, java/util/prefs/NodeChangeListener.java, java/util/prefs/PreferenceChangeEvent.java, java/util/prefs/PreferenceChangeListener.java, java/util/prefs/Preferences.java, java/util/prefs/PreferencesFactory.java: New files, all merged from classpath. * Makefile.am (ordinary_java_source_files): Added the following files: gnu/java/util/prefs/FileBasedFactory.java, gnu/java/util/prefs/MemmoryBasedFactory.java, gnu/java/util/prefs/MemoryBasedPreferences.java, gnu/java/util/prefs/NodeReader.java, gnu/java/util/prefs/NodeWriter.java, (core_java_source_files): Added the following files: java/util/prefs/AbstractPreferences.java, java/util/prefs/BackingStoreException.java, java/util/prefs/InvalidPreferencesFormatException.java, java/util/prefs/NodeChangeEvent.java, java/util/prefs/NodeChangeListener.java, java/util/prefs/PreferenceChangeEvent.java, java/util/prefs/PreferenceChangeListener.java, java/util/prefs/Preferences.java, java/util/prefs/PreferencesFactory.java * Makefile.in: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62827 138bc75d-0d04-0410-961f-82ee72b054a4
* Moved ChangeLog entry into correct ChangeLog filemkoch2003-02-131-0/+13
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62825 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-13 Michael Koch <konqueror@gmx.de>mkoch2003-02-137-66/+104
| | | | | | | | | | | | | | | | * java/net/NetPermission.java (NetPermission): Make doucmentation match the method declaration. * java/net/NetworkInterface.java (equals): Reformated for GNU coding style. * java/net/ServerSocket.java: Merged with classpath. * java/net/Socket.java: Partly merged with classpath (Added some @since). * java/net/SocketImpl.java (localPort): Merged with classpath (initialize with -1). * java/net/SocketPermission.java: Merged with classpath (reindented). * java/net/URLDecoder.java: Merged with classpath (reindented). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62824 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-13 Michael Koch <konqueror@gmx.de>mkoch2003-02-135-3/+91
| | | | | | | | | | | | | | | | | | * java/awt/GridBagConstraints.java (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START, LINE_END, LINE_START, PAGE_END, PAGE_START): New constants. * java/awt/KeyboardFocusManager.java (setGlobalCurrentFocusCycleRoot): Must be public. * java/awt/MenuComponent.java (MenuComponent): Must be public. * java/awt/Toolkit.java: Added some empty lines to make documentation more readable. (getFontPeer): Added @deprecated. (getColorModel): Added exception documentation. (getProperty): Fixed documentation. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62822 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.host (alpha*-*): Default to -mieee.jsturm2003-02-135-64/+75
| | | | | | | | | * configure.in (IEEESPEC): New. * libgcj.spec.in (jc1): Add IEEESPEC. * configure: Rebuild. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62815 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>tromey2003-02-132-5/+10
| | | | | | | | | | * include/win32.h: Include ws2tcpip.h instead of winsock.h to obtain definition of the socklen_t type. Remove IP_TOS definition - not needed with ws2tcpip.h (_Jv_connect): Correct slight formatting error. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62801 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>tromey2003-02-122-12/+85
| | | | | | | | | | | | | * jni.cc (_Jv_LookupJNIMethod): Modify to accept the size of the arguments for a JNI function. For Win32, modify to search for all forms of possible exported names of an stdcall JNI function. (_Jv_JNIMethod::call): Modify to calculate the size of the arguments passed to a JNI function and pass it to _Jv_LookupJNIMethod. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62796 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-12 Michael Koch <konqueror@gmx.de>mkoch2003-02-124-1/+140
| | | | | | | | | | * java/nio/channels/Channels.java: New file. * Makefile.am (ordinary_java_source_files): Added java/nio/channels/Channels.java. * Makefile.in: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62762 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-12 Michael Koch <konqueror@gmx.de>mkoch2003-02-123-51/+191
| | | | | | | | | | | | | | | | | | | | * java/nio/ByteBuffer.java (allocate): Implemented. (wrap): Implemented. * java/nio/CharBuffer.java: Some documentation added and reworked. (endian): Removed. (allocate): Implemented. (wrap): Implemented. (array): Throw exceptions. (arrayOffset): Throw exceptions. (toString): Implemented. (length): Implemented. (put): Implemented. (charAt): Implemented. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62760 138bc75d-0d04-0410-961f-82ee72b054a4
* Wrote better ChangeLog entrytromey2003-02-121-1/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62757 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-11 John Leuner <jewel@debian.org>tromey2003-02-122-1/+7
| | | | | | | * java/util/zip/ZipInputStream.java: idem git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62754 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-11 Ranjit Mathew <rmathew@hotmail.com>tromey2003-02-112-3/+22
| | | | | | | | | * java/io/natFileDescriptorWin32.cc (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( ) returns with Win32 error code ERROR_BROKEN_PIPE. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62722 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-11 Michael Koch <konqueror@gmx.de>mkoch2003-02-112-1/+5
| | | | | | | | * Makefile.in (libgcj_la_OBJECTS): Removed natSelctorImpl.la. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62700 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-11 Michael Koch <konqueror@gmx.de>mkoch2003-02-1110-506/+753
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/java/nio/ByteBufferImpl.java: Reformated and removed some code. (backing_buffer): Removed. (array_offset): Removed. (ro): Renamed to readOnly. (ByteBufferImpl): Use parent constructor, initialize readOnly. * gnu/java/nio/CharBufferImpl.java: Reformated and removed some code. (array_offset): Removed. (ro): Renamed to readOnly. (CharBufferImpl): Use parent constructor, initialize readOnly. (inc_pos): Removed. (order): New method. * gnu/java/nio/DoubleBufferImpl.java: Reformated and removed some code. (array_offset): Removed. (ro): Renamed to readOnly. (DoubleBufferImpl): Use parent constructor, initialize readOnly. (inc_pos): Removed. (order): New method. * gnu/java/nio/FloatBufferImpl.java: Reformated and removed some code. (array_offset): Removed. (ro): Renamed to readOnly. (FloatBufferImpl): Use parent constructor, initialize readOnly. (inc_pos): Removed. (order): New method. * gnu/java/nio/IntBufferImpl.java: Reformated and removed some code. (array_offset): Removed. (ro): Renamed to readOnly. (IntBufferImpl): Use parent constructor, initialize readOnly. (inc_pos): Removed. (order): New method. * gnu/java/nio/LongBufferImpl.java: Reformated and removed some code. (array_offset): Removed. (ro): Renamed to readOnly. (LongBufferImpl): Use parent constructor, initialize readOnly. (inc_pos): Removed. (order): New method. * gnu/java/nio/ShortBufferImpl.java: Reformated and removed some code. (array_offset): Removed. (ro): Renamed to readOnly. (ShortBufferImpl): Use parent constructor, initialize readOnly. (inc_pos): Removed. (order): New method. * Makefile.am (ordinary_java_source_files): Added the following files: gnu/java/nio/ByteBufferImpl.java gnu/java/nio/CharBufferImpl.java gnu/java/nio/DoubleBufferImpl.java gnu/java/nio/FloatBufferImpl.java gnu/java/nio/IntBufferImpl.java gnu/java/nio/LongBufferImpl.java gnu/java/nio/ShortBufferImpl.java java/nio/DoubleBuffer.java java/nio/FloatBuffer.java java/nio/IntBuffer.java java/nio/LongBuffer.java java/nio/ShortBuffer.java (nat_source_files): Added the following files: gnu/java/nio/natByteBufferImpl.cc gnu/java/nio/natCharBufferImpl.cc gnu/java/nio/natDoubleBufferImpl.cc gnu/java/nio/natFloatBufferImpl.cc gnu/java/nio/natIntBufferImpl.cc gnu/java/nio/natLongBufferImpl.cc gnu/java/nio/natShortBufferImpl.cc * Makefile.in: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62692 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-11 Michael Koch <konqueror@gmx.de>mkoch2003-02-1111-618/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/java/nio/natCharBufferImpl.cc (nio_cast): Removed. (nio_put_*): Removed. (nio_get_*): Removed. * gnu/java/nio/natDoubleBufferImpl.cc (nio_cast): Removed. (nio_put_*): Removed. (nio_get_*): Removed. * gnu/java/nio/natFloatBufferImpl.cc (nio_cast): Removed. (nio_put_*): Removed. (nio_get_*): Removed. * gnu/java/nio/natIntBufferImpl.cc (nio_cast): Removed. (nio_put_*): Removed. (nio_get_*): Removed. * gnu/java/nio/natLongBufferImpl.cc (nio_cast): Removed. (nio_put_*): Removed. (nio_get_*): Removed. * gnu/java/nio/natShortBufferImpl.cc (nio_cast): Removed. (nio_put_*): Removed. (nio_get_*): Removed. * gnu/java/nio/SelectorProviderImpl.java (openDatagramChannel): Throws IOException. (openPipe): Throws IOException. (openSelector): Throws IOException. (openServerSocketChannel): Throws IOException. (openSocketChannel): Throws IOException. * gnu/java/nio/ServerSocketChannelImpl.java (ServerSocketChannelImpl): Throws IOException. (implCloseSelectableChannel): Throws IOException. (implConfigureBlocking): Throws IOException. * java/nio/ByteBuffer.java (readOnly): Removed. (hasArray): Use isReadOnly() instead of readOnly. (array): Use isReadOnly() instead of readOnly. (arrayOffset): Use isReadOnly() instead of readOnly. * java/nio/CharBuffer.java (CharBuffer): Implements Cloneable and CharSequence. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62688 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-11 Michael Koch <konqueror@gmx.de>mkoch2003-02-119-17/+202
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * java/nio/Buffer.java (cap, lim, pos, mark): Made private (Buffer): Added package private constructor. * java/nio/ByteBuffer.java (ByteBuffer): Implements Cloneable. (offset): New member variable. (readOnly): New member variable. (backing_buffer): New member variable. (allocateDirect): Throw exception and tell that direct buffers are not supported yet, documentation added. (allocate): Documentation added. (wrap): Documentation added. (ByteBuffer): New constructor. (hasArray): New method. (array): New method. (arrayOffset): New method. (get): Documentation added. (put): Documentation added. * java/nio/CharBuffer.java (CharBuffer): New constructor. (compareTo): Don't access member variables of Buffer directly. * java/nio/DoubleBuffer.java (allocateDirect): Throw exception and tell that direct buffers are not supported yet. * java/nio/FloatBuffer.java (allocateDirect): Throw exception and tell that direct buffers are not supported yet. * java/nio/IntBuffer.java (allocateDirect): Throw exception and tell that direct buffers are not supported yet. * java/nio/LongBuffer.java (allocateDirect): Throw exception and tell that direct buffers are not supported yet. * java/nio/MappedByteBuffer.java (MappedByteBuffer): New method. (force): New method. (isLoaded): New method. (load): New method. * java/nio/ShortBuffer.java (allocateDirect): Throw exception and tell that direct buffers are not supported yet. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62685 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-11 Michael Koch <konqueror@gmx.de>mkoch2003-02-116-240/+138
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * java/nio/DoubleBuffer.java (DoubleBuffer): Implements Comparable. (endian): Removed. (array_offset): New member variable. (DoubleBuffer): New constuctor. (get): May not be final. (put): May not be final. (arrayOffset): Implemented. (order): Made abstract. (order): Removed. (as*Buffer): Removed. (get*): Removed. (put*): Removed. * java/nio/FloatBuffer.java (FloatBuffer): Implements Comparable. (endian): Removed. (array_offset): New member variable. (FloatBuffer): New constuctor. (get): May not be final. (put): May not be final. (arrayOffset): Implemented. (order): Made abstract. (order): Removed. (as*Buffer): Removed. (get*): Removed. (put*): Removed. * java/nio/IntBuffer.java (IntBuffer): Implements Comparable. (endian): Removed. (array_offset): New member variable. (IntBuffer): New constuctor. (get): May not be final. (put): May not be final. (arrayOffset): Implemented. (order): Made abstract. (order): Removed. (as*Buffer): Removed. (get*): Removed. (put*): Removed. * java/nio/LongBuffer.java (LongBuffer): Implements Comparable. (endian): Removed. (array_offset): New member variable. (LongBuffer): New constuctor. (get): May not be final. (put): May not be final. (arrayOffset): Implemented. (order): Made abstract. (order): Removed. (as*Buffer): Removed. (get*): Removed. (put*): Removed. * java/nio/ShortBuffer.java (ShortBuffer): Implements Comparable. (endian): Removed. (array_offset): New member variable. (ShortBuffer): New constuctor. (get): May not be final. (put): May not be final. (arrayOffset): Implemented. (order): Made abstract. (order): Removed. (as*Buffer): Removed. (get*): Removed. (put*): Removed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62684 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-11 Michael Koch <konqueror@gmx.de>mkoch2003-02-112-4/+10
| | | | | | | | | * java/nio/channels/SelectionKey.java (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct values. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62683 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-11 Michael Koch <konqueror@gmx.de>mkoch2003-02-119-27/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * java/nio/channels/DatagramChannel.java (write): Throws IOException. (connect): Throws IOException. (disconnect): Throws IOException. (read): Throws IOException. (receive): Throws IOException. (send): Throws IOException. * java/nio/channels/Pipe.java (open): Throws IOException. * java/nio/channels/SelectableChannel.java (configureBlocking): Throws IOException. * java/nio/channels/ServerSocketChannel.java (accept): Throws IOException. * java/nio/channels/SocketChannel.java (SocketChannel): Implements ByteChannel, ScatteringByteChannel, GatheringByteChannel. (read): Throws IOException. (write): Throws IOException. (finishConnect): Throws IOException. * java/nio/channels/spi/AbstractInterruptibleChannel.java (end): Throws AsynchronousCloseException. * java/nio/channels/spi/AbstractSelectableChannel.java (configureBlocking): Throws IOException. (implCloseChannel): Throws IOException. (implCloseSelectableChannel): Throws IOException. (implConfigureBlocking): Throws IOException. * java/nio/channels/spi/SelectorProvider.java (openDatagramChannel): Throws IOException. (openPipe): Throws IOException. (openSelector): Throws IOException. (openServerSocketChannel): Throws IOException. (openSocketChannel): Throws IOException. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62682 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-11 Michael Koch <konqueror@gmx.de>mkoch2003-02-113-0/+205
| | | | | | | | * gnu/java/nio/FileLockImpl.java, java/nio/channels/FileLock.java: New files. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62681 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-08 Michael Koch <konqueror@gmx.de>mkoch2003-02-113-4/+35
| | | | | | | | | | | | | | | | * java/nio/charset/IllegalCharsetNameException.java (serialVersionUID): New member variable. (charsetName): New member variable. (IllegalCharsetException): New implementation. (getCharsetName): New implementation. * java/nio/charset/UnsupportedCharsetException.java (serialVersionUID): New member variable. (charsetName): New member variable. (UnsupportedCharsetException): New implementation. (getCharsetName): New implementation. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62680 138bc75d-0d04-0410-961f-82ee72b054a4
* * javax/sql/ConnectionEvent.java (serialVersionUID): New field.tromey2003-02-112-5/+13
| | | | | | | (ex): Renamed from sqlException. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62678 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-10 Raif S. Naffah <raif@fl.net.au>tromey2003-02-112-11/+27
| | | | | | | | | * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new method used to ensure seeding has occurred and that a specific seed can be set and used. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62660 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-10 Ranjit Mathew <rmathew@hotmail.com>tromey2003-02-103-20/+349
| | | | | | | | | | | | | | | | | | | | | | | | | | * java/lang/Win32Process.java (destroy): Declare as native. (hasExited): New native method. (exitValue): Define. (getErrorStream): Likewise. (getInputStream): Likewise. (getOutputStream): Likewise. (waitFor): Declare as native. (startProcess): New native method. (cleanup): Likewise. (ConcreteProcess): Define. (outputStream, inputStream, errorStream): New members. (procHandle, exitCode): Likewise. * java/lang/natWin32Process.cc (java::lang::ConcreteProcess::cleanup): Define. (java::lang::ConcreteProcess::destroy): Likewise. (java::lang::ConcreteProcess::hasExited): Likewise. (java::lang::ConcreteProcess::waitFor): Likewise. (new_string): Likewise. (java::lang::ConcreteProcess::startProcess): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62657 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-10 Raif S. Naffah <raif@fl.net.au>tromey2003-02-102-181/+189
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * java/math/BigInteger.java: Updated notice to include years 2002 and 3. Added 2 private (int) arrays with values from the HAC (Handbook of Applied Cryptography -A. Menezes & al): k[] that contains bit lengths and t[] that contains nbr. of tests --used in isProbablePrime(). * java/math/BigInteger.java (make(long)): Merged into valueOf(long). * java/math/BigInteger.java (make(int[],int), add(int,int), add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI), isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI), bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of make(long). * java/math/BigInteger.java (euclidInv): Reduce number of work vars (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3. (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6 BIs and returns void. (modInverse(BI)): Use new signatures of euclidInv(). * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with static small primes instead of remainder(). Use pre-computed max nbr of trials based on bitlength of BI to test. Use pre-computed small primes for the trial tests instead of random numbers. * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed. not used. * java/math/BigInteger.java (format(int,StringBuffer)): Removed invoacation of MPN.chars_per_word(). not used. * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as local var and used where needed. * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling. Combined declaration with initialisation of locals. Removed unused var. * java/math/BigInteger.java: Style changes (pow(int)): Removed 'else' keyword. (toString(int)): idem. (doubleValue()): idem. (bitLength()): idem. (equals(Object)): Use static methods name in same class w/o prepending class name. (doubleValue()): idem. (setNegative(BI)): idem. (negate()): idem. (and(BI,int)): idem. (and(BI)): idem. (gcd(BI)): idem. (byteArrayToIntArray()): Removed casting to (int). this is std. behaviour. (canonicalize()): idem. (alloc(int)): Always instantiate a new BI. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62656 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/sql/Timestamp.java (compareTo(Object)): New method.tromey2003-02-102-8/+32
| | | | | | | | (compareTo(Timestamp)): Likewise. (serialVersionUID): Updated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62648 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifestmark2003-02-072-3/+28
| | | | | | | | | when verify is true. (JarFile(File, boolean)): Likewise. (manifestRead): Set manifestRead field correctly. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62545 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>mark2003-02-072-18/+54
| | | | | | | | | | | | | | | * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013 tests; see patch #1016 on Savannah. 2003-02-07 Stephen Crawley <crawley@dstc.edu.au> * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents (toString): do not return Strings starting with . and - erroneously. Improves Mauve results to 12 of 600 instead of 16 of 338 on DiagBigDecimal. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62540 138bc75d-0d04-0410-961f-82ee72b054a4
* Stephen Crawley <crawley@dstc.edu.au>mark2003-02-072-267/+314
| | | | | | | | | | | | | | | | | | * java/beans/PropertyDescriptor.java (PropertyDescriptor(String, Class)): Sanity check getter and setter methods. (PropertyDescriptor(String, Class, String, String)): Likewise. (PropertyDescriptor(String, Method, Method): Factor out getter and setter method sanity checks into new method. (findMethods): Don't do parameter sanity checking of get method here. (checkMethods): New method. 2003-02-07 Stephen Crawley <crawley@dstc.edu.au> * java/beans/PropertyDescriptor.java: Reformat. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62537 138bc75d-0d04-0410-961f-82ee72b054a4
* * libjava.mauve/xfails: Add new entries formark2003-02-072-0/+39
| | | | | | | gnu.testlet.java.text.CollationElementIterator.jdk11 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62525 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/io/PipedOutputStream.java (flush): Declare as throwingtromey2003-02-044-7/+17
| | | | | | | | | | | | IOException. (close): Likewise. * java/io/PipedWriter.java (close): Declare as throwing IOException. * java/io/StringWriter.java (close): Declare as throwing IOException. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62401 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>tromey2003-02-032-2/+22
| | | | | | | | | | * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care of the fact that on Win32, JNI_OnLoad is an "stdcall" function and could also have been exported as "JNI_OnLoad@8" (MinGW) or "_JNI_OnLoad@8" (MSVC). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62348 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>tromey2003-02-032-1/+13
| | | | | | | | * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling convention on Win32 to invoke native JNI methods. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62345 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix ChangeLog entry.aph2003-02-031-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62328 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-03 Andrew Haley <aph@emcee.cambridge.redhat.com>aph2003-02-032-1/+5
| | | | | | | * configure.host (x86_64): Enable interpreter. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62326 138bc75d-0d04-0410-961f-82ee72b054a4
* * libjava.jacks/jacks.exp (gcj_jacks_write): Set LD_LIBRARY_PATHuweigand2003-02-032-1/+11
| | | | | | | to find libgcc_s. Set JAVA_CLASSPATH to find libgcj.jar. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62318 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-03 Andrew Haley <aph@redhat.com>aph2003-02-035-352/+367
| | | | | | | | | | * libgcj.spec.in (jc1): Add BACKTRACESPEC. * configure.host (x86_64): Default to -fno-omit-frame-pointer. * configure.in (BACKTRACESPEC): New. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62316 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure: Rebuilt.tromey2003-02-023-2/+5
| | | | | | | * configure.in (TOOLKIT) [xlib]: Set correctly. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62292 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in: Rebuilt.tromey2003-02-023-3/+11
| | | | | | | | * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against libstdc++. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62291 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in: Rebuilt.mark2003-02-013-3/+8
| | | | | | | * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62231 138bc75d-0d04-0410-961f-82ee72b054a4
* * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can betromey2003-01-312-1/+11
| | | | | | | | | cast to element type. (_Jv_JNI_SetObjectArrayElement): Check array bounds. (_Jv_JNI_GetObjectArrayElement): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62210 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in: Rebuilt.tromey2003-01-313-42/+39
| | | | | | | | | | | | | | | | * Makefile.am (cond_x_ltlibrary): Renamed library to lib-gnu-awt-xlib.la. (lib_gnu_awt_xlib_la_SOURCES): Renamed. (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise. (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise. (lib_gnu_awt_xlib_la_LIBADD): Likewise. (lib_gnu_awt_xlib_la_LDFLAGS): Likewise. (lib_gnu_awt_xlib_la_LINK): Likewise. (install-exec-hook): Removed. (lib-gnu-awt-xlib.la): Renamed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62201 138bc75d-0d04-0410-961f-82ee72b054a4
* * lib/libjava.exp (libjava_prune_warnings): Remove all unreachablemark2003-01-312-3/+14
| | | | | | | bytecode warnings. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62190 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud