summaryrefslogtreecommitdiffstats
path: root/libjava/java/io
Commit message (Collapse)AuthorAgeFilesLines
...
* * java/io/BufferedReader.java, java/io/ObjectInput.java,tromey2001-09-015-4/+6
| | | | | | | | java/io/ObjectInputValidation.java, java/io/ObjectOutput.java: Re-merged with Classpath. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45342 138bc75d-0d04-0410-961f-82ee72b054a4
* Re-merge with Classpath:tromey2001-08-313-3/+8
| | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45337 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/io/ByteArrayOutputStream.java: Re-merged with Classpath.tromey2001-08-312-33/+98
| | | | | | | * java/io/OptionalDataException.java: Merged with Classpath. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45327 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/io/ByteArrayInputStream.java: Merged with Classpath.tromey2001-08-311-19/+154
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45309 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/io/BufferedReader.java: Re-merged with Classpath.tromey2001-08-311-6/+27
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45307 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/io/InputStreamReader.java (refill): Only call refill ontromey2001-08-061-1/+3
| | | | | | | BufferedInputStream when appropriate constraints are met. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44675 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/io/StringWriter.java: Merged with Classpath.tromey2001-08-056-179/+970
| | | | | | | | | | | * java/io/InputStream.java: Merged with Classpath. * java/io/OutputStream.java: Merged with Classpath. * java/io/PushbackInputStream.java: Merged with Classpath. * java/io/CharArrayReader.java: Merged with Classpath. * java/io/CharArrayWriter.java: Merged with Classpath. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44652 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/io/RandomAccessFile.java (seek): Let seek go past end oftromey2001-08-026-23/+28
| | | | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44586 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/io/natFileWin32.cc (_access): Renamed.tromey2001-07-183-12/+15
| | | | | | | | | | | (_stat): Likewise. * java/io/natFile.cc (_access): Renamed. (_stat): Likewise. * java/io/File.java (access, stat): Add leading `_' to name. Updated all callers. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44124 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix for PR libgcj/3426:tromey2001-07-132-62/+59
| | | | | | | | | | | | | * gnu/gcj/convert/natIconv.cc: Include CharConversionException.h, errno.h. (read): Throw exception if character conversion fails. * java/io/BufferedInputStream.java (refill): Now package-private. * java/io/InputStreamReader.java (ready): Simplified. (refill): New method. (read): Use it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43975 138bc75d-0d04-0410-961f-82ee72b054a4
* Report from Henner Zeller:tromey2001-07-121-5/+8
| | | | | | | | * java/io/FileOutputStream.java (FileOutputStream): Throw FileNotFoundException, not IOException. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43966 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-07-01 Jeremy Nimmer <jwnimmer@alum.mit.edu>tromey2001-07-021-2/+2
| | | | | | | | | For PR libgcj/3523: * java/io/LineNumberReader.java (reset): Pass correct arguments to countLines. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43683 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/io/natFileDescriptorPosix.cc (open): Change error messagetromey2001-06-261-1/+3
| | | | | | | formatting. From David Brownell. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43564 138bc75d-0d04-0410-961f-82ee72b054a4
* * natFile.cc (get_entry): Removed functions.jsturm2001-06-011-25/+9
| | | | | | | | (performList): Call readdir or readdir_r if HAVE_READDIR_R defined. Allocate enough storage for d_name if using readdir_r. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42767 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/io/natFileDescriptorPosix.cc (open): Allocate buffer totromey2001-05-311-21/+31
| | | | | | | | correct size. (write): Loop until write completes. From Corey Minyard. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42749 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-04-30 Matt Kraai <kraai@alumni.carnegiemellon.edu>tromey2001-04-301-2/+2
| | | | | | | | * java/io/natFile.cc (performSetReadOnly): Fix #ifdef test. (performDelete): Fix #endif placement. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41703 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix PR libgcj/2237:bryce2001-04-263-120/+74
| | | | | | | | | | | | | | | | | * java/io/ObjectStreamClass.java (setClass): Calculate serialVersionUID for local class and compare it against the UID from the Object Stream. Throw InvalidClassException upon mismatch. (setUID): Renamed to... (getClassUID): this. Return the calculated class UID rather than setting uid field directly. (getDefinedSUID): Removed. * java/io/ObjectInputStream.java (resolveClass): Use the three-argument Class.forName(). * java/io/InvalidClassException (toString): Don't include classname in result if it is null. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41567 138bc75d-0d04-0410-961f-82ee72b054a4
* libffi:bryce2001-04-121-7/+54
| | | | | | | | | | | | | | | | | | * Makefile.am: Make a libtool convenience library. * Makefile.in: Rebuilt. libjava: * java/io/File.java (normalizePath): New private method. (File (String)): Use normalizePath(). (File (String, String)): Likewise. * Makefile.am (libffi_files): Removed. (libgcj.la): Link libffi as a convenience library instead of refering to its object files directly. * Makefile.in: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41298 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/io/PrintStream.java (out): Removed field. Fixes PRtromey2001-04-021-37/+37
| | | | | | | | | | | | | | | | java/2449. (write): Call flush, not out.flush, per spec. (close): Flush output stream, per spec. Handle InterruptedIOException. (checkError): Likewise. (flush, print, write): Handle InterruptedIOException per spec. (PrintStream): Don't create BufferedOutputStream. (work_bytes): New field. (writeChars): Use work_bytes. Don't assume `out' is a BufferedOutputStream. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41014 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/natSystem.cc (init_properties): Revert yesterday's changesbryce2001-04-023-25/+8
| | | | | | | | | | | to "file.separator", "path.separator", and "java.io.tmpdir" property initialization. * java/io/File.java: Likewise. * java/io/natFile.cc (init_native): Likewise. * java/io/natFileWin32.cc (init_native): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40994 138bc75d-0d04-0410-961f-82ee72b054a4
* 1.3-Compliant Implementation of java.io.File.bryce2001-04-013-195/+413
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * java/lang/natSystem.cc (init_properties): Get "file.separator", "path.separator", and "java.io.tmpdir" from the File class, instead of setting them explicitly. * java/io/File.java: Do not canonicalize paths for security manager checks. Call init_native() from static initializer. Do not pass path argument to native methods. New native method declarations. Some security manager checks moved to checkWrite(). (equals): Check file system case sensitivity and act appropriatly. (hashCode): Likewise. (isHidden): New method implemented. (performList): Changed prototype. Now takes a class argument specifying the class of the returned array: Strings or File objects. Also added FileFilter argument. (listFiles): New variants with "File" return type implemented. (createTempFile): Use createNewFile(). Use maxPathLen. (setReadOnly): New method implemented. (listRoots): Likewise. (compareTo): Likewise. (setLastModified): Likewise. (checkWrite): New method. (setPath): Removed. * java/io/natFile.cc: Various functions no longer take canonical path argument. (stat): Handle ISHIDDEN query. (isAbsolute): Remove WIN32 cruft. (performList): New arguments. Handle returning either File[] or String[] arrays. Check with FileFilter or FilenameFilter arguments as appropriate. Use an ArrayList, not a Vector, for the temporary list. (performSetReadOnly): New method implemented. (performListRoots): Likewise. (performSetLastModified): Likewise. (performCreate): Likewise. (init_native): New initialization function. * java/io/natFileWin32.cc: Various functions no longer take canonical path argument. (stat): Add FIXME about ISHIDDEN query. (performList): New arguments. Handle returning either File[] or String[] arrays. Check with FileFilter or FilenameFilter arguments as appropriate. Use an ArrayList, not a Vector, for the temporary list. (performSetReadOnly): New. Stubbed. (performListRoots): Likewise. (performSetLastModified): Likewise. (performCreate): Likewise. (init_native) New initialization function. * configure.in: Check for utime() and chmod(). * configure: Rebuilt. * include/config.h.in: Rebuilt. Resolves PR libgcj/1759. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40985 138bc75d-0d04-0410-961f-82ee72b054a4
* * exception.cc (java_eh_info): Make value type jthrowable.rth2001-03-265-45/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | (_Jv_type_matcher): Remove now unneeded cast. (_Jv_Throw): Make argument type jthrowable. Munge name for SJLJ_EXCEPTIONS here ... * gcj/cni.h: ... not here. (JvThrow): Remove. * gcj/javaprims.h (_Jv_Throw, _Jv_Sjlj_Throw): Update declarations. * defineclass.cc, interpret.cc, jni.cc, posix-threads.cc, prims.cc, resolve.cc, gnu/gcj/runtime/natFirstThread.cc, gnu/gcj/xlib/natDrawable.cc, gnu/gcj/xlib/natFont.cc, gnu/gcj/xlib/natWMSizeHints.cc, gnu/gcj/xlib/natWindowAttributes.cc, gnu/gcj/xlib/natXImage.cc, java/io/natFile.cc, java/io/natFileDescriptorEcos.cc, java/io/natFileDescriptorPosix.cc, java/io/natFileDescriptorWin32.cc, java/io/natFileWin32.cc, java/lang/natClass.cc, java/lang/natClassLoader.cc, java/lang/natDouble.cc, java/lang/natObject.cc, java/lang/natPosixProcess.cc, java/lang/natRuntime.cc, java/lang/natString.cc, java/lang/natSystem.cc, java/lang/natThread.cc, java/lang/reflect/natArray.cc, java/lang/reflect/natConstructor.cc, java/lang/reflect/natField.cc, java/lang/reflect/natMethod.cc, java/util/zip/natDeflater.cc, java/util/zip/natInflater.cc: Use throw, not JvThrow or _Jv_Throw. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40838 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/io/natFileDescriptorPosix.cc (open): Add O_CREAT intromey2001-03-211-2/+2
| | | | | | | read/write case. Fixes PR libgcj/2338. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40692 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/io/ObjectStreamClass.java (setUID): Don't write interfacetromey2001-03-091-5/+9
| | | | | | | | info for array classes. Fixes PR libgcj/1971. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40337 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/io/PipedWriter.java (flush): Throw exception if streamtromey2001-02-204-29/+102
| | | | | | | | | | | | | | | | | | | | closed. * java/io/OutputStreamWriter.java (write): Throw exception if stream closed. (writeChars): Don't throw exception if stream closed. * java/io/CharArrayWriter.java (closed): New field. (close): Set it. (flush): Throw exception if stream closed. (reset): Synchronize on correct lock. Allow stream to be reopened. (toCharArray, toString, writeTo): Synchronize. (write): Throwe exception if stream closed. * java/io/BufferedWriter.java (close): Clear `buffer'. (flush): Throw IOException if stream is closed. (write): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39927 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/io/CharArrayReader.java (CharArrayReader): Throwbryce2001-02-192-10/+13
| | | | | | | | | IllegalArgumentException if constructor arguments are illegal. (ready): Return false if no more characters can be read. * java/io/ByteArrayInputStream.java (ByteArrayInputStream): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39876 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-175-25/+115
| | | | | | | | | | | * 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
* * java/io/PipedReader.java (ready): Throw IOException if pipetromey2001-02-134-19/+29
| | | | | | | | | | | | | closed. * java/io/FilterReader.java (close): Don't clear `in'. * java/io/CharArrayReader.java (mark): Throw IOException if stream closed. (read, ready, reset, skip): Added exception message. * java/io/BufferedReader.java (mark, reset, ready, read, skip): Perform checkStatus check inside synchronized block. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39641 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/io/BlockDataException.java: Removed.bryce2001-02-132-40/+1
| | | | | | | | | | * java/io/ObjectInputStream.java (readObject): Throw StreamCorruptedException, not BlockDataException. * Makefile.am: Remove BlockDataException. * Makefile.in: Rebuild. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39616 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-02-09 Alexandre Petit-Bianco <apbianco@redhat.com>apbianco2001-02-091-0/+16
| | | | | | | | | | | | * java/io/File.java (java.net): Imported. (getAbsoluteFile): Added. (getCanonicalPath): Likewise. (toURL): Likewise. (http://gcc.gnu.org/ml/java-patches/2001-q1/msg00208.html) git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39562 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/io/OutputStreamWriter.java: (flush, writeChars): Throwbryce2001-02-091-1/+7
| | | | | | | IOException if stream closed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39559 138bc75d-0d04-0410-961f-82ee72b054a4
* From paul@dawa.demon.co.uk. Fix for PR libgcj/1913:tromey2001-02-091-1/+10
| | | | | | | | * java/io/InputStreamReader.java (ready, read): Throw IOException if stream has been closed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39553 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/io/ObjectInputStream.java (read): AND byte with 0xff to makebryce2001-01-272-15/+43
| | | | | | | | | | | | result unsigned. (read (byte[], int, int)): Only call readNextBlock() if the block buffer would actually be overrun. Increment blockDataPosition. (callReadMethod): Propagate exceptions from invocation target. * java/io/ObjectOutputStream.java (callWriteMethod): Propagate exceptions from invocation target. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39293 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-01-09 Oskar Liljeblad <osk@hem.passagen.se>warrenl2001-01-091-49/+49
| | | | | | | | | Fix for PR libgcj/1338: * java/io/StreamTokenizer.java (nextToken): Handle // and /* before commentChar. Fixed typos in comments. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38830 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix comments for docletsgreen2001-01-065-10/+10
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38754 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/io/PipedReader: Synchronize on "lock" instead of this.bryce2001-01-051-118/+130
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38731 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/io/PipedInputStream: Rewrote to be simpler and more correct.bryce2001-01-054-1240/+856
| | | | | | | | | | * java/io/PipedOutputStream: Updated to match new PipedInputStream. * java/io/PipedReader: New implementation based on new PipedInputStream. * java/io/PipedWriter: Updated to match new PipedOutputStream. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38708 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-12-24 Jeff Sturm <jeff.sturm@commerceone.com>tromey2000-12-261-7/+6
| | | | | | | | * java/io/FileDescriptor.java: Initialize fd to -1. Remove default constructor. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38485 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/io/StringWriter.java (StringWriter(int)): Now public.tromey2000-12-151-4/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38271 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/io/SerializablePermission.java (legal_names): Now private.tromey2000-12-151-3/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38270 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/io/FileInputStream.java (close): Check if the fd is valid.warrenl2000-12-082-6/+4
| | | | | | | | | * java/io/RandomAccessFile.java (close): Ditto. * java/net/PlainDatagramSocketImpl.java (close): Ditto. * java/net/PlainSocketImpl.java (close): Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38131 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/io/FilePermission.java: Made class final per spec.warrenl2000-12-041-2/+2
| | | | | | | | | * java/text/DecimalFormatSymbols.java (setCurrencySymbol): Changed method name to match spec (fixed typo). * java/util/LinkedList.java: Implements List. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37993 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/util/zip/InflaterInputStream (read): Don't return -1 unlessbryce2000-11-292-8/+1
| | | | | | | | | | | the infate() call didn't deliver any output. Throw a ZipException if the needsDictionary() call returns true. * java/io/ByteArrayInputStream (read): Remove redundant bounds checks. * java/io/InputStreamReader: Use the default buffer size for the contained BufferedInputStream. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37846 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-11-28 Bryce McKinlay <bryce@abatross.co.nz>bryce2000-11-282-58/+211
| | | | | | | | | | | | | | * 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
* 2000-11-24 Bryce McKinlay <bryce@albatross.co.nz>bryce2000-11-262-50/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * java/lang/System.java (setProperties): Only call init_properties() if properties is null. (getProperties): Ditto. (getProperty): Ditto. (setProperty): Call init_properties if properties are null. (prop_init): Remove field. * java/lang/natSystem.cc (init_properties): Synchronize the entire method. Check for null properties after synchronizing instead of prop_init flag. Set the properties field last for thread safety. * java/io/ObjectInputStream.java (ObjectInputStream): If DEBUG is set, test for gcj.dumpobjects property and enable object stream dumping if it is set. (dumpElement): No longer native. (dumpElementln): Ditto. (setDump): Do not define. * java/io/natObjectInputStream.cc (dumpElement): Removed. (dumpElementln): Removed. (setDump): Removed. 2000-11-24 Bryce McKinlay <bryce@albatross.co.nz> * configure: Rebuilt. * Makefile.in: Rebuilt. * Makefile.am (built_java_source_files): Add Configuration.java. * configure.in: Add Configuration.java to CONFIG_FILES. Set LIBGCJDEBUG substitution if --enable-libgcj-debug is specified. Create `gnu' directory in the build tree. * gnu/classpath/Configuration.java.in: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37749 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in: Rebuilt.tromey2000-11-202-0/+300
| | | | | | | | | | * Makefile.am (core_java_source_files): Added new files. * java/lang/reflect/ReflectPermission.java: New class. * java/io/FileFilter.java: From Classpath * java/io/FilePermission.java: From Classpath. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37586 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/io/PushbackReader.java: Merged with Classpath.tromey2000-11-171-87/+376
| | | | | | | | | | | | | | | | | | * java/util/Arrays.java: Updated from Classpath. * scripts/blocks.pl: New file. * java/lang/Character.java (Subset): New class. (UnicodeBlock): New class. * java/lang/Math.java (toDegrees, toRadians): New methods. * java/lang/Float.java: Implement Comparable. (compareTo): New methods. * java/lang/Double.java: Implement Comparable. (compareTo): New methods. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37512 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/io/ObjectInputStream.java (readObject): Added code towarrenl2000-11-032-21/+119
| | | | | | | | | | | | | | | | | | | | | | | | conditionally dump out the serialized data. Handle ENDBLOCKDATA case a bit more gracefully since the current behavior doesn't seem to work as expected. (readStreamHeader): Added code for serialized data dumper. (readNextBlock): Ditto. (readFields): Ditto. (dump): New private static field for turning on/off dumper. (setDump): New native method. (dumpElement): New native method. (dumpElementln): New native method. * java/io/natObjectInputStream.cc (setDump): New method. (dumpElement): New method. (dumpElementln): New method. Serialization dumper. Enable by configuring with --enable-libgcj-debug and calling java.io.ObjectInputStream.setDump(true) in your test program. The output will be generated as the object is deserialized (i.e. the readObject() method is executed). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37223 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/io/Reader.java: Merge docs from classpath.bryce2000-10-303-49/+292
| | | | | | | | | | | (skip): Synchronize on `lock'. * java/io/FileReader.java: Import correct implementation from classpath. * java/io/StringReader.java: Merge docs from classpath. (ready): Throw IOException if stream is closed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37143 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud