summaryrefslogtreecommitdiffstats
path: root/libjava/java/io
Commit message (Collapse)AuthorAgeFilesLines
* 2003-09-26 Sascha Brawer <brawer@dandelis.ch>mkoch2003-09-261-138/+136
| | | | | | | | | | | | | | * java/awt/image/SinglePixelPackedSampleModel.java (createDataBuffer): Save space for some pixels at the buffer end. Added Javadoc. 2003-09-26 Tom Tromey <tromey@redhat.com> * java/io/ObjectOutputStream.java (writeFields): Fixed indentation. (putFields): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71829 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-09-25 Ingo Proetel <proetel@aicas.com>mkoch2003-09-251-13/+19
| | | | | | | | * java/io/ObjectOutputStream.java: Allow putFields be called more than once. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71791 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-09-18 Mark Wielaard <mark@klomp.org>mkoch2003-09-181-1/+1
| | | | | | | | | Reported by Guilhem Lavaux and Julian Dolby * java/io/ObjectStreamClass.java (getSerialPersistentFields): Get the field "serialPersistentFields", not "getSerialPersistentFields". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71515 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-09-18 David P Grove <groved@us.ibm.com>mkoch2003-09-181-1/+1
| | | | | | | | * java/io/LineNumberReader (read): Don't reset pos & limit when markPos is 0. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71507 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/net/URLStreamHandler.java (parseURL): If original filetromey2003-09-121-2/+3
| | | | | | | | | ends with "/", so must canonical result. * java/io/natFilePosix.cc (getCanonicalPath): Clean up snafus with nul-termination and finding previous "/". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71327 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/io/natFilePosix.cc (getCanonicalPath): Handle case wheretromey2003-09-111-1/+63
| | | | | | | file does not exist. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71307 138bc75d-0d04-0410-961f-82ee72b054a4
* * win32.cc: fixed tab, indentation and whitespacemembar2003-08-292-143/+116
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | inconsistencies removed jvm.h include added includes java/lang/UnsupportedOperationException.h, java/io/IOException.h, java/net/SocketException.h (WSAEventWrapper): class implementation (_Jv_WinStrError): implemented both overloads (_Jv_ThrowIOException): implemented both overloads (_Jv_ThrowSocketException): implemented both overloads (_Jv_select): implemented * include/win32.h: fixed tab, indentation and whitespace inconsistencies wrapped <windows.h> include with #define WIN32_LEAN_AND_MEAN added jvm.h include (WSAEventWrapper): added class declaration (_Jv_WinStrError): added both overload declarations (_Jv_ThrowIOException): added both overload declarations (_Jv_ThrowSocketException): added both overload declarations removed ENOTCONN, ECONNRESET and ENOPROTOOPT defines (_Jv_select): added declaration (_Jv_socket): removed (_Jv_connect): removed (_Jv_close): removed (_Jv_bind): removed (_Jv_accept): removed (_Jv_listen): removed (_Jv_write): removed (_Jv_read): removed * java/io/natFileDescriptorWin32.cc: fixed tab, indentation and whitespace inconsistencies replaced <windows.h> #include with <platform.h> removed jvm.h include (testCanUseGetHandleInfo): new function which tests whether Win32 GetHandleInformation() call can be used with console buffer handles (only supported on >=WinNT 5.0) (winerr): removed (superseded by _Jv_WinStrError in include/win32.h) (valid): rewrote implementation using GetHandleInformation() (sync): changed exception throwing to use error string and exception helper methods declared in include/win32.h (open): likewise (write): likewise (setLength): likewise (close): likewise (seek): likewise (getFilePointer): likewise (read): likewise * java/io/natFileWin32.cc: fixed tab, indentation and whitespace inconsistencies replaced <windows.h> #include with <platform.h> removed jvm.h include (_access): use JV_TEMP_UTF_STRING (_stat): likewise (performMkDir): use JV_TEMP_UTF_STRING (performRenameTo): likewise (performDelete): likewise (performCreate): likewise (performSetReadOnly): likewise (performSetLastModified): likewise * java/lang/natWin32Process.cc: fixed tab, indentation and whitespace inconsistencies replaced <windows.h> #include with <platform.h> removed includes gcj/cni.h, jvm.h (new_string): removed (startProcess): use JV_TEMP_UTF_STRING, changed exception throwing to use error string and exception helper methods declared in include/win32.h * java/net/natInetAddressWin32.cc: fixed tab, indentation and whitespace inconsistencies replaced <windows.h> #include with <platform.h> removed jvm.h include removed DISABLE_JAVA_NET conditional code removed POSIX conditional code not relevant to Win32 (aton): use JV_TEMP_UTF_STRING removed POSIX conditional code not relevant to Win32 (lookup): likewise (getLocalHostName): likewise * java/net/natNetworkInterfaceWin32.cc: fixed tab, indentation and whitespace inconsistencies removed unnecessary windows.h, winsock.h and gcj/cni.h includes removed DISABLE_JAVA_NET conditional code removed POSIX conditional code not relevant to Win32 (winsock2GetRealNetworkInterfaces): new function to compute network interfaces via Winsock2 API (determineGetRealNetworkInterfacesFN): new function for returning a function pointer to the function used to compute network interfaces. (getRealNetworkInterfaces): implemented * java/net/natPlainDatagramSocketImplWin32.cc: fixed tab, indentation and whitespace inconsistencies removed gcj/cni.h include removed DISABLE_JAVA_NET conditional code removed POSIX conditional code not relevant to Win32 changed net POSIXisms to Win32isms replaced _Jv socket-related calls with their real Win32 equivalents changed exception throwing to use error string and exception helper methods declared in include/win32.h (peekData): implemented timeout support (receive): likewise * java/net/natPlainSocketImplWin32.cc: fixed tab, indentation and whitespace inconsistencies removed gcj/cni.h and gcj/javaprims.h includes removed DISABLE_JAVA_NET conditional code removed POSIX conditional code not relevant to Win32 changed net POSIXisms to Win32isms replaced _Jv socket-related calls with their real Win32 equivalents changed exception throwing to use error string and exception helper methods declared in include/win32.h (throwConnectException): helper function for connect() (connect): implemented timeout support (accept): likewise (doRead): new helper function common to both read() method overloads, includes timeout support (read): implemented both overloads in terms of doRead() (available): implemented using ioctlsocket() git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70904 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libgcj/11575membar2003-08-191-8/+13
| | | | | | | | | * java/io/natFileDescriptorWin32.cc (open): Set create flag to OPEN_AWAYS when READ & WRITE regardless of APPEND flag. Honor EXCL when openning with WRITE flag. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70565 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/io/PrintStream.java (print): Always flush if auto_flush isbryce2003-08-101-17/+24
| | | | | | | | | | | set. Don't check for newline characters. (write (int)): Implement without using a temporary array. (write (byte[], int, int): Always flush if auto_flush is set. Don't check for newline characters. Fixes PR libgcj/11778. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70284 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-08-08 Andrew Haley <aph@redhat.com>aph2003-08-081-1/+1
| | | | | | | | | | | | | | * Makefile.am (AM_CXXFLAGS): Define BOOT_CLASS_PATH. * Makefile.in: Rebuild. * java/lang/natRuntime.cc (insertSystemProperties): Add "sun.boot.class.path". 2003-08-07 Andrew Haley <aph@redhat.com> * java/io/PrintStream.java: Don't crash on a null string. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70250 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/io/FilePermission.java (equals): Use correct index fortromey2003-08-061-3/+5
| | | | | | | last character of path. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70206 138bc75d-0d04-0410-961f-82ee72b054a4
* More for PR libgcj/11737:tromey2003-08-012-23/+42
| | | | | | | | | | | | | | | | | | * java/io/ObjectInputStream.java (processResolution): Use getMethod. (getMethod): Make method accessible. (getField): Make field accessible. (setBooleanField): Don't call setAccessible here. (setByteField, setCharField, setDoubleField, setFloatField, setIntField, setLongField, setShortField, setObjectField): Likewise. (callReadMethod): Don't check whether method is null. Catch NoSuchMethodException. * java/io/ObjectOutputStream.java (callWriteMethod): Initialize cause on thrown exceptions. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70038 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix for PR libgcj/11737:tromey2003-08-011-13/+41
| | | | | | | | | | | | | * java/io/ObjectOutputStream.java (getMethod): Make method accessible. (getField): Likewise. (writeObject): Use getMethod. Import PrivilegedAction and AccessController. (callWriteMethod): Don't check whether m is null. Catch NoSuchMethodException. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70035 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.tromey2003-07-261-23/+37
| | | | | | | | | (write): Likewise. (read): Likewise. (read): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69807 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-07-13 Michael Koch <konqueror@gmx.de>mkoch2003-07-133-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | * gnu/java/nio/FileChannelImpl.java, gnu/java/nio/natFileChannelImpl.cc: Removed. * java/io/FileInputStream.java, java/io/FileOutputStream.java, java/io/RandomAccessFile.java, java/nio/MappedByteBufferImpl.java: Import java.nio.channels.FileChannelImpl instead of gnu.java.nio.FileChannelImpl. * java/nio/channels/FileChannelImpl.java, java/nio/channels/natFileChannelImpl.cc: New files. * Makefile.am (ordinary_java_source_files): Removed gnu/java/nio/FileChannelImpl.java and added java/nio/channels/FileChannelImpl.java. (nat source_files): Removed gnu/java/nio/natFileChannelImpl.cc and added java/nio/channels/natFileChannelImpl.cc. * Makefile.in: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69296 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/io/ObjectOutputStream.java (writeObject): break aftermark2003-07-091-1/+4
| | | | | | | calling writeClassDescriptor(). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69135 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-06-28 Michael Koch <konqueror@gmx.de>mkoch2003-06-281-55/+18
| | | | | | | | | | | | | | * java/io/PrintStream.java (checkError): Call flush() instead of direct flushing of the Writer object. (print): Call print(String) instead of direct print method of the Writer Object. (println): Call println(String) instead of direct println method of the Writer Object. (write): Simplified. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68632 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-06-27 Michael Koch <konqueror@gmx.de>mkoch2003-06-271-3/+1
| | | | | | | | | * java/io/RandomAccessFile.java (readLine): Removed wrong @deprecated tag. (getChannel): Made final. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68574 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-06-25 Michael Koch <konqueror@gmx.de>mkoch2003-06-252-78/+87
| | | | | | | | | | | | * java/io/ObjectInputStream.java (readClassDescriptor): New method. (readObject): Moved functionality to readClassDescriptor(). * java/io/ObjectOutputStream.java (writeClassDescriptor): New method. (writeObject): Moved functionality to writeClassDescriptor(). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68465 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-06-24 Michael Koch <konqueror@gmx.de>mkoch2003-06-241-26/+11
| | | | | | | | | * java/io/LineNumberReader.java (skip): Dont do line number accounting here as this is already done in read(), simplified. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68408 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-06-21 Michael Koch <konqueror@gmx.de>mkoch2003-06-211-20/+28
| | | | | | | | | | | | | * java/io/File.java (static): Load javaio lib if existing (only in classpath). (File): Revised documentation to show the correct argument name. (createTempFile): Partly merged with classpath. (compareTo): Simplified. (lastModified): Throw exception if time < 0. (deleteOnExit): Revised documentation. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68310 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-06-20 Michael Koch <konqueror@gmx.de>mkoch2003-06-201-6/+18
| | | | | | | | | | * java/io/ObjectStreamField.java (unshared): new member variable. (ObjectStreamField): New constructor. (isUnshared): New method. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68261 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-06-14 Michael Koch <konqueror@gmx.de>mkoch2003-06-142-1/+5
| | | | | | | | | * java/io/BufferedReader.java, java/io/FileOutputStream.java: New versions from classpath. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67932 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/ClassLoader.java (loadClass): Not deprecated.tromey2003-06-121-23/+9
| | | | | | | * java/io/PrintStream.java: Not deprecated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67811 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-06-10 Michael Koch <konqueror@gmx.de>mkoch2003-06-101-144/+85
| | | | | | | | | | | * java/io/PrintStream.java: Merged version from classpath. (close): Removed sychronized keyword. This class is not garantied to be thread-safe. (write): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67717 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-06-06 James Clark <jjc@jclark.com>mark2003-06-072-4/+11
| | | | | | | | | | | | | | | | | | | | | | Fix for PR libgcj/8738: * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method. * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise. * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise. * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise. (write): Always decrease avail when count is increased. * java/lang/natString.cc (getBytes): Check converter havePendingBytes() and whether output buffer is full before increasing size. 2002-06-06 Mark Wielaard <mark@klomp dot org> * java/io/PrintStream.java (writeChars(char[],int, int)): Check converter.havePendingBytes(). (writeChars(String,int,int)): Likewise. * java/io/OutputStreamWriter.java (writeChars(char[], int, int)): Check converter.havePendingBytes() and flush buffer when stalled. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67595 138bc75d-0d04-0410-961f-82ee72b054a4
* * libjava/include/posix.h (O_SYNC): Define if not availableljrittle2003-06-051-2/+0
| | | | | | | | | and a reasonable, perhaps more conservative, replacement exists. (O_DSYNC): Likewise. * java/io/natFileDescriptorPosix.cc (open): Revert last patch. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67517 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-05-27 Michael Koch <konqueror@gmx.de>mkoch2003-05-271-12/+38
| | | | | | | | | | * java/io/PrintStream.java (PrintStream): Reformatted. (PrintStream): New method, merged from classpath. (write): Reformatted. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67183 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-05-25 Michael Koch <konqueror@gmx.de>mkoch2003-05-251-3/+3
| | | | | | | | | | | | | | | | | | * java/io/PushbackInputStream.java, java/net/Authenticator.java, java/net/ContentHandler.java, java/net/ContentHandlerFactory.java, java/net/DatagramSocket.java, java/net/DatagramSocketImpl.java, java/net/DatagramSocketImplFactory.java, java/net/FileNameMap.java, java/net/SocketImplFactory.java, java/net/SocketOptions.java, java/net/URLStreamHandlerFactory.java: Merged new versions from classpath. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67165 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libgcj/10838:jsturm2003-05-231-1/+1
| | | | | | | | * java/io/ObjectInputStream (enableResolveObject): Fixed spelling of permission name. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67111 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-05-20 Michael Koch <konqueror@gmx.de>mkoch2003-05-202-6/+12
| | | | | | | | | | | | | * java/io/DataInputStream.java (convertFromUTF): Merged comment from classpath. * java/io/PrintStream.java (error_occured): Renamed from error, merged comment from classpath. (PrintStream): No need to initialized error. (checkError): Replace error with error_occurred. (setError): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66997 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-05-20 Michael Koch <konqueror@gmx.de>mkoch2003-05-203-147/+158
| | | | | | | | | | | | * java/io/DataInputStream.java: Reformatted, Replaced < and & with html entitites in documentation. * java/io/File.java: Reformatted. * java/io/PrintWriter.java: Moved class documentation. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66992 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-05-16 Michael Koch <konqueror@gmx.de>mkoch2003-05-161-0/+2
| | | | | | | | | * java/io/natFileDescriptorPosix.cc (open): Commented out the O_SYNC and O_DSYNC usage until its better tested. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66859 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-05-13 Michael Koch <konqueror@gmx.de>mkoch2003-05-135-20/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * java/io/FileDescriptor.java (SYNC): New constant. (DSYNC): Likewise. (getLength): Renamed from lenght() to match classpath's FileDescriptor.java. * java/io/RandomAccessFile.java (RandomAccessFile): Removed unneeded mode check, implemented mode "rws" and "rwd", merged documentation from classpath. (setLength): Reformatted. (length): Use new getLength() of FileDescriptor. * java/io/natFileDescriptorEcos.cc (getLength): Renamed from length(). * java/io/natFileDescriptorPosix.cc (open): Implemented support for SYNC and DSYNC. (seek): Use getLength() instead of length(). (getLength): Renamed from length(). * java/io/natFileDescriptorWin32.cc (getLength): Renamed from length(). (seek): Use getLength() instead of length(). (available): Likewise. * gnu/java/nio/natFileChannelImpl.cc (size): Use getLength() instead of length(). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66755 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-05-09 Michael Koch <konqueror@gmx.de>mkoch2003-05-093-26/+110
| | | | | | | | | | | | | | | | | | | | | * java/io/DataOutputStream.java (writeShort): Made it synchronized. (writeChar): Likewise. (writeInt): Likewise. (writeLong): Liekwise. (writeUTF): Made it synchronized, renamed argument to match classpath. * java/io/InputStreamReader.java (converter): Added documentation. (read): Merged documentation from classpath. * java/io/OutputStreamWriter.java (OutputStreamWriter): Merged documentation from classpath. (close): Reformatted. (getEncoding): Likewise. (flush): Likewise. (write): Merged documentation from classpath, reformatted. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66624 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-05-06 Michael Koch <konqueror@gmx.de>mkoch2003-05-065-98/+264
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * java/io/DataOutputStream.java (write): Renamed argument to "value", merged documentation from classpath. (writeBoolean): Likewise. (writeByte): Likewise. (writeShort): Likewise. (writeChar): Likewise. (writeInt): Likewise. (writeLong): Likewise. (writeFloat): Likewise. (writeDouble): Likewise. (writeBytes): Likewise. (writeChars): Likewise. (writeUTF): Likewise. * java/io/File.java (performDelete): Added documentation. (performList): Likewise. (performMkdir): Likewise. (performSetReadOnly): Likewise. (performRenameTo): Likewise. (performSetLastModified): Likewise. (delete): Made it sychronized. (renameTo): Made it sychronized. (equals): Reformatted. (isHidden): Likewise. (listFiles): Likewise. (setReadOnly): Likewise. (listRoots): Likewise. (setLastModified): Likewise. (checkRead): Likewise. (checkWrite): Likewise. * java/io/FileInputStream.java (skip): Made it sychronized, merged from classpath. * java/io/FileOutputStream.java (write): Merged from classpath. * java/io/InputStreamReader.java: (InputStreamReader): Merged documentation from classpath. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66520 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-05-04 Michael Koch <konqueror@gmx.de>mkoch2003-05-051-49/+66
| | | | | | | | * java/io/DataInputStream.java: Reordered methods to match libgcj. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66478 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/io/BufferedReader.java, java/io/BufferedWriter.java,tromey2003-04-204-19/+20
| | | | | | | | java/io/DataInput.java, java/io/DataOutput.java: Imports from Classpath. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65868 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-04-19 Ranjit Mathew <rmathew@hotmail.com>tromey2003-04-192-10/+102
| | | | | | | | | | | | | | * java/io/File.java (getAbsolutePath): On Windows, take care of paths like "C:", "G:foo\bar", etc. (getName): Make it work correctly on Windows. (getParent): Make it work correctly on Windows. For UNIX, fix bug that causes "/" to be returned as the parent of "/", instead of null as returned by Sun's JRE. * java/io/natFileWin32.cc: Change copyright owner to FSF. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65823 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-04-07 Aaron M. Renn (arenn@urbanophile.com)mkoch2003-04-079-73/+241
| | | | | | | | | | | | | | | | | | * java/io/ObjectStreamException * java/io/FileFilter * java/io/FilenameFilter * java/io/ObjectInput * java/io/ObjectOutput * java/io/ObjectStreamConstants Minor doc fixes, format fixes, spelling corrections, etc. * java/io/DataInput Corrected code samples in Javadocs to match reality * java/io/DataOutput * java/io/ObjectInputValidation Major documentation fixes - all Javadocs re-written or updated git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65329 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-04-06 Michael Koch <konqueror@gmx.de>mkoch2003-04-061-4/+11
| | | | | | | | | * java/io/FileInputStream.java (skip): Renamed some variables to match classpath, added checks from classpath. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65300 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-03-31 Michael Koch <konqueror@gmx.de>mkoch2003-03-313-61/+1100
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * java/io/File.java (separator): Merged documentation from classpath. (separatorChar): Merged documentation from classpath. (pathSeparator): Merged documentation from classpath. (pathSeparatorChar): Merged documentation from classpath. (path): Merged documentation from classpath. (canRead): Merged documentation from classpath. (canWrite): Merged documentation from classpath. (createNewFile): Merged documentation from classpath. (delete): Merged documentation from classpath. (equals): Merged documentation from classpath. (exists): Merged documentation from classpath. (File): Renamed p to name to match classpath, merged documentation from classpath. (getAbsolutePath): Merged documentation from classpath. (getCanonicalPath): Merged documentation from classpath. (getCanonicalFile): Merged documentation from classpath. (getName): Merged documentation from classpath. (getParent): Merged documentation from classpath. (getParentFile): Merged documentation from classpath. (getPath): Merged documentation from classpath. (hashCode): Merged documentation from classpath. (isAbsolute): Merged documentation from classpath. (isDirectory): Merged documentation from classpath. (isFile): Merged documentation from classpath. (isHidden): Merged documentation from classpath. (lastModified): Merged documentation from classpath. (length): Merged documentation from classpath. (list): Merged documentation from classpath. (listFiles): Merged documentation from classpath. (toString): Merged documentation from classpath. (toURL): Merged documentation from classpath. (mkdir): Merged documentation from classpath. (mkdirs): Merged documentation from classpath. (createTempFile): Merged documentation from classpath. (setReadOnly): Merged documentation from classpath. (listRoots): Merged documentation from classpath. (compareTo): Merged documentation from classpath. (renameTo): Merged documentation from classpath. (setLastModified): Merged documentation from classpath. * java/io/PrintStream.java (auto_flush): Merged documentation from classpath. (PrintStream): Merged documentation from classpath. (checkError): Merged documentation from classpath. (setError): Merged documentation from classpath. (close): Merged documentation from classpath. (flush): Merged documentation from classpath. (print): Merged documentation from classpath. (println): Merged documentation from classpath. (write): Renamed count to len to match classpath, merged documentation from classpath. * java/io/RandomAccessFile.java (readShort): Merged documentation from classpath. (readUnsignedByte): Merged documentation from classpath. (readUnsignedShort): Merged documentation from classpath. (readUTF): Merged documentation from classpath. (seek): Reformatted, merged documentation from classpath. (skipBytes): Renamed some variables to match classpath, reformatted, merged documentation from classpath. (write): Merged documentation from classpath. (writeBoolean): Merged documentation from classpath. (writeByte): Merged documentation from classpath. (writeShort): Merged documentation from classpath. (writeChar): Merged documentation from classpath. (writeInt): Merged documentation from classpath. (writeLong): Merged documentation from classpath. (writeFloat): Merged documentation from classpath. (writeDouble): Merged documentation from classpath. (writeBytes): Merged documentation from classpath. (writeChars): Merged documentation from classpath. (writeUTF): Reformatted. (getChannel): Reformatted. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65081 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-03-28 Michael Koch <konqueror@gmx.de>mkoch2003-03-283-64/+94
| | | | | | | | | | | | | | | | | * java/io/File.java: Import needed classes instead of whole packages, merged class documentation with classpath, moved constants and variables to top of class. * java/io/PrintStream.java: Merged class documentation with classpath, moved constants and variables to top of class. * java/io/RandomAccessFile.java (RandomAccessFile): Merged with classpath. (read): Merged with classpath). (read*): Reformatted. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64974 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-03-28 Michael Koch <konqueror@gmx.de>mkoch2003-03-282-28/+14
| | | | | | | | | | * java/io/FileDescriptor.java (finalize): Throws Throwable, not IOException. * java/io/ObjectOutputStream.java (PutField.put): Doesnt throws anything. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64970 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003�03-28 Michael Koch <konqueror@gmx.de>mkoch2003-03-282-20/+37
| | | | | | | | | | | | | | * java/io/FileOutputStream.java: Merged class documentation and authors with classpath. (FileOutputStream): Partly merged with classpath. (write): Merged with classpath. (getChannel): Make it synchronized instead of explicit block in this method. * java/io/RandomAccessFile.java: Merged class documentation and authors with classpath. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64963 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-03-25 Michael Koch <konqueror@gmx.de>mkoch2003-03-252-12/+125
| | | | | | | | | | | | | | | * java/io/FileInputStream.java (read): Renamed b to buf and off to offset. * java/io/FileOutputStream.java (ch): Documentation added. (FileOutputStream): Documentation added. (getFD): Documentation added. (write): Documentation added. (close): Documentation added. (getChannel): Documentation added. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64845 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-03-24 Michael Koch <konqueror@gmx.de>mkoch2003-03-248-50/+113
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * java/io/DataOutputStream.java (write): Merged from classpath. * java/io/File.java: Merged copyrigth with classpath. * java/io/FileInputStream.java (getChannel): Made it synchronized instead of using a synchronized block. * java/io/FileOutputStream.java: Reformatted. * java/io/InputStreamReader.java (InputStreamReader): Renamed enc to encoding_name. (close): Merged documentation from classpath. (getEncoding): Merged documentation from classpath. (ready): Merged documentation from classpath. (read): Merged documentation from classpath. * java/io/LineNumberReader.java (lineNumber): Made it private. (LineNumberReader): Use Constant instead of a direct value. * java/io/OutputStreamWriter.java (OutputStreamWriter): Renamed enc to encoding_scheme, merged documentation from classpath. (close): Merged documentation from classpath. (flush): Merged documentation from classpath. (write): Merged documentation from classpath. * java/io/PrintStream.java: Reformatted. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64806 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-03-24 Michael Koch <konqueror@gmx.de>mkoch2003-03-241-42/+403
| | | | | | | | * java/io/RandomAccessFile.java: More little merges with libgcj. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64796 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-03-24 Michael Koch <konqueror@gmx.de>mkoch2003-03-249-437/+728
| | | | | | | | | | | | | | | | | | | | | | | | | | * java/io/DataInputStream.java (): Wrapped documentation line. (): Fixed @return tag. * java/io/DataOutputStream.java (written): Moved to top of class. (all methods): Merged documentation from classpath. * java/io/File.java: Merged copyright year with classpath. * java/io/FileInputStream.java (all methods): Merged documentation from classpath. * java/io/LineNumberReader.java (getLineNumber): Fixed @return tag. * java/io/ObjectInputStream.java. Reformatted. * java/io/ObjectOutputStream.java: Reformatted, fixed some @see tags. * java/io/OutputStreamWriter.java: Deleted empty line. * java/io/Writer.java: Reformatted. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64780 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-03-23 Michael Koch <konqueror@gmx.de>mkoch2003-03-2326-969/+729
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * java/io/BufferedOutputStream.java: Reformated. * java/io/BufferedReader.java: Reformated. * java/io/ByteArrayOutputStream.java (size): Fixed @see tag. * java/io/CharArrayWriter.java (size): Fixed @see tag. * java/io/DataInput.java: Reformated. * java/io/DataOutput.java: Reformated. * java/io/DataOutputStream.java: Merged copyright years with classpath. * java/io/Externalizable.java: Reformated. * java/io/FileFilter.java: Reformated. * java/io/FileInputStream.java: Merged copyright years with classpath. * java/io/FileOutputStream.java: Merged copyright years with classpath. * java/io/FilePermission.java (FilePermission): Replaced @XXX with FIXME:. * java/io/FileWriter.java: Reformated. * java/io/FilenameFilter.java: Reformated. * java/io/FilterInputStream.java: Reformated. * java/io/FilterOutputStream.java: Reformated. * java/io/FilterReader.java: Reformated. * java/io/FilterWriter.java: Reformated. * java/io/LineNumberInputStream.java (LineNumberInputStream): Replaced @code with HTML tags to make javadoc happy. (getLineNumber): Fixed @return tag. * java/io/ObjectInput.java: Reformated. * java/io/ObjectOutput.java: Reformated. * java/io/ObjectStreamClass.java: Reformated. * java/io/PrintStream.java: Merged copyright years with classpath. * java/io/PushbackReader.java (PushbackReader): Replaced @code with @param. * java/io/SerializablePermission.java: Reformated. * java/io/StreamTokenizer.java (resetSyntax): Fixed @see tag. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64748 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud