1. 09 Jan, 2007 1 commit
  2. 16 Jul, 2005 1 commit
  3. 30 Jun, 2005 1 commit
  4. 21 Feb, 2005 1 commit
  5. 09 Oct, 2004 1 commit
    • 2004-10-09 Michael Koch <konqueror@gmx.de> · 0d2e6ffe
      	* java/io/CharArrayWriter.java
      	(resize): Removed redundant 'final' modifier.
      	* java/io/DataInputStream.java
      	(readFully): Throw IndexOutOfBoundsException of len < 0.
      	* java/io/FileDescriptor.java,
      	java/io/FileInputStream.java,
      	java/io/FileOutputStream.java,
      	java/io/ObjectOutputStream.java,
      	java/io/ObjectStreamClass.java,
      	java/io/PipedInputStream.java,
      	java/io/RandomAccessFile.java:
      	Reorganized import statements.
      
      From-SVN: r88817
      Michael Koch committed
  6. 20 Apr, 2004 1 commit
    • [multiple changes] · 0fc920c8
      2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
      
      	* java/io/FileDescriptor.java: (FileDescriptor) Added public
      	constructor. (valid) Added null check.
      
      2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
      
              Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
      	* java/io/FileOutputStream.java
      	(FileOutputStream) Reorganized constructors. Constructors now
      	check whether the given path is directory.
      
      From-SVN: r80901
      Michael Koch committed
  7. 29 Feb, 2004 1 commit
    • FileDescriptor.java: Implement on top of FileChannel. · ef3916ef
      	* java/io/FileDescriptor.java:  Implement on top of FileChannel.
      	Remove native methods.
      
      	* java/io/natFileDescriptorEcos.cc:  Remove file.
      	* java/io/natFileDescriptorPosix.cc:  Remove file.
      	* java/io/natFileDescriptorWin32.cc:  Remove file.
      	* java/io/FileInputStream.java (ch):  Change type to FileChannelImpl.
      	(<init>(File)):  Allocate a FileChannelImpl, not a FileDescriptor.
      	(<init>(FileChannelImpl)):  New package-private constructor.
      	(<init>(FileDescriptor)):  Extract FileChannelImpl from arg.
      	(available, close, read, skip):  Implement using FileChannelImpl.
      	(getFD):  Allocate FileDescriptor if needed.
      	(getChannel):  Is now trivial.
      	* java/io/FileOutputStream.java:  Corresponding changes.
      	* java/io/RandomAccessFile.java:  Corresponding changes.
      
      From-SVN: r78661
      Per Bothner committed
  8. 23 Jan, 2004 4 commits
  9. 13 May, 2003 1 commit
    • 2003-05-13 Michael Koch <konqueror@gmx.de> · e48d8b88
             * 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
      Michael Koch committed
  10. 28 Mar, 2003 1 commit
  11. 04 Jan, 2003 1 commit
  12. 24 Jul, 2002 1 commit
    • natFileDescriptorWin32.cc (setLength): New method. · ce05139c
      2002-07-24  Tom Tromey  <tromey@redhat.com>
                  Tony Kimball <alk@pobox.com>
      
      	* java/io/natFileDescriptorWin32.cc (setLength): New method.
      	* java/io/natFileDescriptorPosix.cc (setLength): New method.
      	* java/io/RandomAccessFile.java (setLength): New method.
      	* java/io/natFileDescriptorEcos.cc (setLength): New method.
      	* java/io/FileDescriptor.java (setLength): New method.
      
      Co-Authored-By: Tony Kimball <alk@pobox.com>
      
      From-SVN: r55715
      Tom Tromey committed
  13. 06 Mar, 2002 1 commit
    • FileDescriptor.java: Initialize in/out/err in init(). · 348c9efc
      2002-03-06  Adam Megacz  <adam@xwt.org>
      
              * java/io/FileDescriptor.java: Initialize in/out/err in init().
              * java/io/natFileDescriptorWin32.cc (init()): Added function.
              * java/io/natFileDescriptorPosix.cc (init()): Added function.
              * java/io/natFileDescriptorEcos.cc (init()): Added function.
      
      From-SVN: r50378
      Adam Megacz committed
  14. 31 Aug, 2001 1 commit
    • Re-merge with Classpath: · 4504a655
      	* java/util/Comparator (equals): Added.
      	* java/io/PipedWriter.java (write): Changed argument to `int'.
      
      	* java/io/FileDescriptor.java (FileDescriptor()): New
      	constructor.
      	* java/io/File.java (getAbsoluteFile): Doesn't throw IOException.
      
      From-SVN: r45337
      Tom Tromey committed
  15. 02 Aug, 2001 1 commit
    • RandomAccessFile.java (seek): Let seek go past end of file. · 8d6a4375
      	* java/io/RandomAccessFile.java (seek): Let seek go past end of
      	file.
      	(skipBytes): Don't fail if seeking past end of file.
      	* java/io/FileInputStream.java (skip): Don't fail if seeking past
      	end of file.
      	* java/io/natFileDescriptorWin32.cc (seek): Handle `eof_trunc'
      	argument.
      	* java/io/natFileDescriptorEcos.cc (seek): Handle `eof_trunc'
      	argument.
      	* java/io/natFileDescriptorPosix.cc (seek): Handle `eof_trunc'
      	argument.
      	* java/io/FileDescriptor.java (seek): Added `eof_trunc' argument.
      
      From-SVN: r44586
      Tom Tromey committed
  16. 26 Dec, 2000 1 commit
  17. 07 Mar, 2000 1 commit
  18. 11 Feb, 2000 1 commit
    • natFileDescriptorPosix.cc (open): Recognize EXCL flag. · 304ccb10
      	* java/io/natFileDescriptorPosix.cc (open): Recognize EXCL flag.
      	* java/io/FileDescriptor.java (EXCL): New static field.
      	* java/io/File.java (tmpdir): New static field.
      	(createTempFile): New method.
      	(nextValue): New method.
      	* java/lang/natSystem.cc (init_properties): Set java.io.tmpdir
      	property.
      
      From-SVN: r31922
      Tom Tromey committed
  19. 19 Jan, 2000 1 commit
  20. 10 Jun, 1999 1 commit
    • FileDescriptor.java (FileDescriptor(String, int)): Throw FileNotFoundException… · a21f23fc
      FileDescriptor.java (FileDescriptor(String, int)): Throw FileNotFoundException instead of IOException.
      
      1999-06-10  Warren Levy  <warrenl@cygnus.com>
      	* java/io/FileDescriptor.java (FileDescriptor(String, int)):
      	Throw FileNotFoundException instead of IOException.
      	(open): ditto.
      	* java/io/FileInputStream.java (FileInputStream): Doesn't throw
      	IOException.
      	* java/text/Collator.java (CANONICAL_DECOMPOSITION): Fixed typo
      	in static field name.
      
      From-SVN: r27473
      Warren Levy committed
  21. 07 Apr, 1999 1 commit