aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/io
AgeCommit message (Collapse)AuthorFilesLines
2003-12-04FilePermission.java: Import used classes explicitely.Michael Koch1-2/+1
2003-12-04 Michael Koch <konqueror@gmx.de> * java/io/FilePermission.java: Import used classes explicitely. From-SVN: r74293
2003-12-02configure.in: Added new MinGW-specific configure flag --with-win32-nlsapi.Mohan Embar2-36/+43
* configure.in: Added new MinGW-specific configure flag --with-win32-nlsapi. Added new AC_DEFINE MINGW_LIBGCJ_UNICODE. Add -lunicows to MinGW SYSTEMSPEC if --with-win32-nlsapi is set to unicows. * configure: Rebuilt. * include/config.h.in: Rebuilt. * win32.cc (_Jv_Win32NewString): Implemented. (nativeToUnicode): New helper function defined only for non-UNICODE builds. (unicodeToNative): Likewise. (_Jv_Win32TempString): Implemented. (lots): Refactored using tchar.h macros. (WSAEventWrapper): Use _Jv_Win32NewString. (_Jv_platform_initialize): Use GetModuleFileNameA instead of GetModuleFileName. (_Jv_platform_initProperties): Use _Jv_Win32NewString. Use temporary stack buffer instead of a heap buffer. * include/win32.h Added defines for UNICODE and _UNICODE if MINGW_LIBGCJ_UNICODE is defined; added tchar.h include. (_Jv_Win32TempString): Declared new helper class. (JV_TEMP_STRING_WIN32): New helper macro. (_Jv_Win32NewString): Declared new helper method. * java/io/natFileDescriptorWin32.cc (open): Use JV_TEMP_STRING_WIN32 instead of JV_TEMP_UTF_STRING. (write): Reformatted slightly. * java/io/natFileWin32.cc (lots): Use tchar.h macros; use JV_TEMP_STRING_WIN32 instead of JV_TEMP_UTF_STRING. (getCanonicalPath): Use _Jv_Win32NewString instead of JvNewStringUTF. (performList): Likewise. * java/lang/natWin32Process.cc (ChildProcessPipe): Use tchar.h macros. (startProcess): Use tchar.h macros, JV_TEMP_STRING_WIN32, and UNICODE environment flag for CreateProcess. * java/net/natNetworkInterfaceWin32.cc (winsock2GetRealNetworkInterfaces): Use tchar.h macros and _Jv_Win32NewString. From-SVN: r74201
2003-11-16re PR libgcj/13062 (StreamTokenizer ignores commentChar)Tom Tromey1-4/+18
PR libgcj/13062: * java/io/StreamTokenizer.java (commentChar): Clear other attributes for character. (quoteChar): Likewise. From-SVN: r73653
2003-11-08ByteArrayOutputStream.java (resize): Fix off-by-one error.Jeff Sturm1-1/+1
* java/io/ByteArrayOutputStream.java (resize): Fix off-by-one error. From-SVN: r73359
2003-11-07win32.h (_Jv_platform_close_on_exec): Changed signature and declared extern.Mohan Embar1-1/+7
* include/win32.h (_Jv_platform_close_on_exec): Changed signature and declared extern. * win32.cc (_Jv_platform_close_on_exec): Implemented. * gnu/java/net/natPlainDatagramSocketImplWin32.cc (create): Use new signature of _Jv_platform_close_on_exec. * gnu/java/net/natPlainSocketImplWin32.cc (create): Eliminated a few typecasts Use new signature of _Jv_platform_close_on_exec. (accept): Eliminated a few typecasts Use new signature of _Jv_platform_close_on_exec. * java/io/natFileDescriptorWin32.cc (open): Use _Jv_platform_close_on_exec. From-SVN: r73325
2003-10-31re PR libgcj/6652 (new java.io.File("").getCanonicalFile() throws exception)Mohan Embar1-1/+6
PR libgcj/6652: * java/io/natFileWin32.cc (getCanonicalPath): Treat "" like ".". From-SVN: r73115
2003-10-222003-10-22 Michael Koch <konqueror@gmx.de>Michael Koch1-5/+3
* java/io/File.java (equals): Removed redundant obj == null check. (createTempFile): Merged comments from classpath. From-SVN: r72790
2003-10-13File.java: Reformated.Michael Koch1-93/+98
2003-10-13 Michael Koch <konqueror@gmx.de> * java/io/File.java: Reformated. (equals): Check for obj == null. From-SVN: r72421
2003-10-11Externalizable.java, [...]: Removed redundant modifiers.Michael Koch9-68/+61
2003-10-11 Michael Koch <konqueror@gmx.de> * java/io/Externalizable.java, java/io/FileFilter.java, java/io/FilePermission.java, java/io/ObjectInput.java, java/io/ObjectInputValidation.java, java/io/ObjectOutput.java, java/io/ObjectStreamClass.java, java/io/ObjectStreamConstants.java, java/io/Serializable.java: Removed redundant modifiers. From-SVN: r72352
2003-09-26[multiple changes]Michael Koch1-138/+136
2003-09-26 Sascha Brawer <brawer@dandelis.ch> * 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. From-SVN: r71829
2003-09-25ObjectOutputStream.java: Allow putFields be called more than once.Ingo Proetel1-13/+19
2003-09-25 Ingo Proetel <proetel@aicas.com> * java/io/ObjectOutputStream.java: Allow putFields be called more than once. From-SVN: r71791
2003-09-18Reported by Guilhem Lavaux and Julian DolbyMark Wielaard1-1/+1
2003-09-18 Mark Wielaard <mark@klomp.org> Reported by Guilhem Lavaux and Julian Dolby * java/io/ObjectStreamClass.java (getSerialPersistentFields): Get the field "serialPersistentFields", not "getSerialPersistentFields". From-SVN: r71515
2003-09-18LineNumberReader (read): Don't reset pos & limit when markPos is 0.David P Grove1-1/+1
2003-09-18 David P Grove <groved@us.ibm.com> * java/io/LineNumberReader (read): Don't reset pos & limit when markPos is 0. From-SVN: r71507
2003-09-12URLStreamHandler.java (parseURL): If original file ends with "/", so must ↵Tom Tromey1-2/+3
canonical result. * java/net/URLStreamHandler.java (parseURL): If original file ends with "/", so must canonical result. * java/io/natFilePosix.cc (getCanonicalPath): Clean up snafus with nul-termination and finding previous "/". From-SVN: r71327
2003-09-11natFilePosix.cc (getCanonicalPath): Handle case where file does not exist.Tom Tromey1-1/+63
* java/io/natFilePosix.cc (getCanonicalPath): Handle case where file does not exist. From-SVN: r71307
2003-08-29win32.cc: fixed tab...Mohan Embar2-143/+116
* win32.cc: fixed tab, indentation and whitespace 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() From-SVN: r70904
2003-08-19re PR libgcj/11575 ([win32] Problem with RandomAccessFile)Danny Smith1-8/+13
PR libgcj/11575 * 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. From-SVN: r70565
2003-08-10re PR libgcj/11778 (System.out PrintStream does too much buffering)Bryce McKinlay1-17/+24
* java/io/PrintStream.java (print): Always flush if auto_flush is 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. From-SVN: r70284
2003-08-08[multiple changes]Andrew Haley1-1/+1
2003-08-08 Andrew Haley <aph@redhat.com> * 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. From-SVN: r70250
2003-08-06FilePermission.java (equals): Use correct index for last character of path.Tom Tromey1-3/+5
* java/io/FilePermission.java (equals): Use correct index for last character of path. From-SVN: r70206
2003-08-01More for PR libgcj/11737:Tom Tromey2-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. From-SVN: r70038
2003-08-01re PR libgcj/11737 (java.io.ObjectOutputStream.writeObject does not work ↵Tom Tromey1-13/+41
with HashMap) Fix for PR libgcj/11737: * 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. From-SVN: r70035
2003-07-26natFileDescriptorPosix.cc (write): Try again on EINTR.Tom Tromey1-23/+37
* java/io/natFileDescriptorPosix.cc (write): Try again on EINTR. (write): Likewise. (read): Likewise. (read): Likewise. From-SVN: r69807
2003-07-13FileChannelImpl.java, [...]: Removed.Michael Koch3-3/+3
2003-07-13 Michael Koch <konqueror@gmx.de> * 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. From-SVN: r69296
2003-07-09ObjectOutputStream.java (writeObject): break after calling ↵Mark Wielaard1-1/+4
writeClassDescriptor(). * java/io/ObjectOutputStream.java (writeObject): break after calling writeClassDescriptor(). From-SVN: r69135
2003-06-282003-06-28 Michael Koch <konqueror@gmx.de>Michael Koch1-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. From-SVN: r68632
2003-06-272003-06-27 Michael Koch <konqueror@gmx.de>Michael Koch1-3/+1
* java/io/RandomAccessFile.java (readLine): Removed wrong @deprecated tag. (getChannel): Made final. From-SVN: r68574
2003-06-252003-06-25 Michael Koch <konqueror@gmx.de>Michael Koch2-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(). From-SVN: r68465
2003-06-242003-06-24 Michael Koch <konqueror@gmx.de>Michael Koch1-26/+11
* java/io/LineNumberReader.java (skip): Dont do line number accounting here as this is already done in read(), simplified. From-SVN: r68408
2003-06-212003-06-21 Michael Koch <konqueror@gmx.de>Michael Koch1-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. From-SVN: r68310
2003-06-202003-06-20 Michael Koch <konqueror@gmx.de>Michael Koch1-6/+18
* java/io/ObjectStreamField.java (unshared): new member variable. (ObjectStreamField): New constructor. (isUnshared): New method. From-SVN: r68261
2003-06-14BufferedReader.java, [...]: New versions from classpath.Michael Koch2-1/+5
2003-06-14 Michael Koch <konqueror@gmx.de> * java/io/BufferedReader.java, java/io/FileOutputStream.java: New versions from classpath. From-SVN: r67932
2003-06-12ClassLoader.java (loadClass): Not deprecated.Tom Tromey1-23/+9
* java/lang/ClassLoader.java (loadClass): Not deprecated. * java/io/PrintStream.java: Not deprecated. From-SVN: r67811
2003-06-10PrintStream.java: Merged version from classpath.Michael Koch1-144/+85
2003-06-10 Michael Koch <konqueror@gmx.de> * java/io/PrintStream.java: Merged version from classpath. (close): Removed sychronized keyword. This class is not garantied to be thread-safe. (write): Likewise. From-SVN: r67717
2003-06-07re PR libgcj/8738 (java.io.CharArrayWriter's write methods erroneously throw ↵Mark Wielaard2-4/+11
IOExceptions) 2002-06-06 James Clark <jjc@jclark.com> 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. From-SVN: r67595
2003-06-05posix.h (O_SYNC): Define if not available and a reasonable...Loren J. Rittle1-2/+0
* libjava/include/posix.h (O_SYNC): Define if not available and a reasonable, perhaps more conservative, replacement exists. (O_DSYNC): Likewise. * java/io/natFileDescriptorPosix.cc (open): Revert last patch. From-SVN: r67517
2003-05-272003-05-27 Michael Koch <konqueror@gmx.de>Michael Koch1-12/+38
* java/io/PrintStream.java (PrintStream): Reformatted. (PrintStream): New method, merged from classpath. (write): Reformatted. From-SVN: r67183
2003-05-25PushbackInputStream.java, [...]: Merged new versions from classpath.Michael Koch1-3/+3
2003-05-25 Michael Koch <konqueror@gmx.de> * 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. From-SVN: r67165
2003-05-23re PR libgcj/10838 (GCC 3.3 [libjava]: java.io.ObjectInputStream syntax error)Jeff Sturm1-1/+1
PR libgcj/10838: * java/io/ObjectInputStream (enableResolveObject): Fixed spelling of permission name. From-SVN: r67111
2003-05-202003-05-20 Michael Koch <konqueror@gmx.de>Michael Koch2-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. From-SVN: r66997
2003-05-20DataInputStream.java: Reformatted, Replaced < and & with html entitites in ↵Michael Koch3-147/+158
documentation. 2003-05-20 Michael Koch <konqueror@gmx.de> * java/io/DataInputStream.java: Reformatted, Replaced < and & with html entitites in documentation. * java/io/File.java: Reformatted. * java/io/PrintWriter.java: Moved class documentation. From-SVN: r66992
2003-05-162003-05-16 Michael Koch <konqueror@gmx.de>Michael Koch1-0/+2
* java/io/natFileDescriptorPosix.cc (open): Commented out the O_SYNC and O_DSYNC usage until its better tested. From-SVN: r66859
2003-05-132003-05-13 Michael Koch <konqueror@gmx.de>Michael Koch5-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(). From-SVN: r66755
2003-05-092003-05-09 Michael Koch <konqueror@gmx.de>Michael Koch3-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. From-SVN: r66624
2003-05-062003-05-06 Michael Koch <konqueror@gmx.de>Michael Koch5-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. From-SVN: r66520
2003-05-05DataInputStream.java: Reordered methods to match libgcj.Michael Koch1-49/+66
2003-05-04 Michael Koch <konqueror@gmx.de> * java/io/DataInputStream.java: Reordered methods to match libgcj. From-SVN: r66478
2003-04-20BufferedReader.java, [...]: Imports from Classpath.Tom Tromey4-19/+20
* java/io/BufferedReader.java, java/io/BufferedWriter.java, java/io/DataInput.java, java/io/DataOutput.java: Imports from Classpath. From-SVN: r65868
2003-04-19File.java (getAbsolutePath): On Windows, take care of paths like "C:", ↵Ranjit Mathew2-10/+102
"G:foo\bar", etc. 2003-04-19 Ranjit Mathew <rmathew@hotmail.com> * 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. From-SVN: r65823
2003-04-072003-04-07 Aaron M. Renn (arenn@urbanophile.com)Aaron M. Renn9-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 From-SVN: r65329
2003-04-062003-04-06 Michael Koch <konqueror@gmx.de>Michael Koch1-4/+11
* java/io/FileInputStream.java (skip): Renamed some variables to match classpath, added checks from classpath. From-SVN: r65300