summaryrefslogtreecommitdiffstats
path: root/libjava/java/io/DataInputStream.java
Commit message (Collapse)AuthorAgeFilesLines
* GNU Classpath merge.mark2002-11-031-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-10-31 Stephen Crawley <crawley@dstc.edu.au> * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)). 2002-10-31 Wu Gansha <gansha.wu@intel.com>: * java/util/ArrayList.java (readObject, writeObject): Only read/write size items. 2002-10-31 Wu Gansha <gansha.wu@intel.com>: * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an initial estimated size to avoid enlarge buffer frequently. 2002-10-31 Wu Gansha <gansha.wu@intel.com>: * java/lang/reflect/Proxy.java (ProxyType): Set loader to System ClassLoader when null. (ProxyType.hashCode): Loader null check no longer needed. (ProxyType.sameTypes): New method. (ProxyType.equals): Use new method. 2002-10-31 Mark Wielaard <mark@klomp.org> * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to length of String. * java/net/URLEncoder.java (encode): Likewise. 2002-10-31 Mark Wielaard <mark@klomp.org> * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException when stream is closed. (closeEntry): Likewise. (read): Likewise. * java/util/zip/ZipOutputStream.java (putNextEntry): Throw ZipException when no entry active. (closeEntry): Likewise. (write): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58772 138bc75d-0d04-0410-961f-82ee72b054a4
* Add license clarification.mark2002-01-221-5/+16
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49104 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/io/DataInputStream.java (readChar): Use readFully.tromey2001-09-261-15/+5
| | | | | | | | | | (readInt): Likewise. (readLong): Likewise. (readShort): Likewise. (readUnsignedShort): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45834 138bc75d-0d04-0410-961f-82ee72b054a4
* Remerge with Classpathmark2001-02-171-80/+111
| | | | | | | | | | | | | | | | | | | | | | | | | | (changes by Bryce McKinlay <bryce@albatross.co.nz>) * java/io/DataInputStream.java (readBoolean): Use convertToBoolean(). (readByte): Use convertToByte(). (readChar): Use convertToChar(). (readInt): Use convertToInt(). (readLong): Use convertToLong(). (readShort): Use convertToShort(). (readUnsignedByte): Use convertToUnsignedByte(). (readUnsignedShort): Use convertToUnsignedShort(). (readUTF): Use convertToUTF(). (convertToBoolean): Resurrected. (convertToByte): Ditto. (convertToChar): Ditto. (convertToInt): Ditto. (convertToLong): Ditto. (convertToShort): Ditto. (convertToUnsignedByte): Ditto. (convertToUnsignedShort): Ditto. (convertToUTF): Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39800 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/io/DataInputStream.java: update copyright noticemark2001-02-171-5/+23
| | | | | | | | | | | * java/io/PrintWriter.java: idem * java/io/Reader.java: idem * java/io/StreamTokenizer.java: idem * java/io/StringReader.java: idem * java/lang/reflect/ReflectPermission.java: idem git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39798 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix comments for docletsgreen2001-01-061-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38754 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-11-28 Bryce McKinlay <bryce@abatross.co.nz>bryce2000-11-281-52/+73
| | | | | | | | | | | | | | * java/io/DataInputStream.java: Merge classpath docs. Call in.read() directly rather than read() in all cases. Make primitive read implementations more efficient, as defined in JDK online docs. (skipBytes): Behave like the JDK's implementation. * java/io/BufferedReader.java: Merge classpath docs. Check for a closed stream with checkStatus() whenever an IOException can be thrown. (checkStatus): New private method. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37810 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/reflect/Field.java (toString): Don't rely ontromey2000-09-111-7/+415
| | | | | | | Class.toString. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36341 138bc75d-0d04-0410-961f-82ee72b054a4
* * All files: Updated copyright information.tromey2000-03-071-1/+1
| | | | | | | | | * COPYING: New file. * COPYING.LIB: Removed. * LIBGCJ_LICENSE: We now use GPL + special exception. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32387 138bc75d-0d04-0410-961f-82ee72b054a4
* * All files: Updated copyright to reflect Cygnus purchase.tromey2000-01-191-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31504 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/Runtime.java (exec): Convert prog name and argumentsbryce1999-06-091-15/+52
| | | | | | | | | | | | | to string array. * java/lang/natPosixProcess.cc (startProcess): Fix typo in environment array conversion. Preserve current environment if envp not passed. Preserve PATH unless explicitly specified. * java/io/DataInputStream.java (readLine): Fix case where '\r' is followed by EOF. Set a flag when a line is terminated by '\r' and ignore following '\n' if set. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27458 138bc75d-0d04-0410-961f-82ee72b054a4
* 1999-04-12 Urban Widmark <urban@svenskatest.se>warrenl1999-04-121-3/+6
| | | | | | | | * java/io/DataInputStream.java (readLine): Corrected handling of empty lines, from null to "". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26381 138bc75d-0d04-0410-961f-82ee72b054a4
* Initial revisiontromey1999-04-071-0/+249
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26263 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud