configure.in (GCC_UNWIND_INCLUDE): Assume we're built within the same tree as gcc.
[gcc.git] / libjava / ChangeLog
index 103147bece50f43f455e6bb8359e057fff220e2f..1e26ad1a2dc3b636e9b38f326e475bef73ac960b 100644 (file)
@@ -1,3 +1,131 @@
+2001-04-02  Richard Henderson  <rth@redhat.com>
+
+       * configure.in (GCC_UNWIND_INCLUDE): Assume we're built within
+       the same tree as gcc.
+       * configure: Rebuilt.
+
+       * exception.cc (_Jv_Throw): Clarify commentary.
+
+2001-04-02  Marcus G. Daniels  <mgd@swarm.org>
+
+       * jni.cc (wrap_value<jclass>): New specialization.
+
+2001-04-02  Tom Tromey  <tromey@redhat.com>
+
+       * java/io/PrintStream.java (out): Removed field.  Fixes PR
+       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.
+
+2001-04-02  Torsten Rueger  <torsten.rueger@firsthop.com>
+
+       * java/text/MessageFormat.java (setLocale): Added missing `else'.
+       For PR libgcj/2429.
+
+2001-03-30  Tom Tromey  <tromey@redhat.com>
+
+       * jni.cc (add_char): Correctly encode non-ascii characters.
+       (add_char): Define even when INTERPRETER not defined.
+       (mangled_name): Likewise.
+       (_Jv_GetJNIEnvNewFrame): Likewise.
+       (_Jv_LookupJNIMethod): Likewise.
+
+2001-03-23  Kevin B Hendricks  <khendricks@ivey.uwo.ca>
+
+       * configure.host: Enable interpreter for PPC.
+
+2001-04-02  Bryce McKinlay  <bryce@albatross.co.nz>
+
+       * java/lang/natSystem.cc (init_properties): Revert yesterday's changes
+       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.
+
+2001-04-01  Per Bothner  <per@bothner.com>
+
+       * java/lang/natString.cc (intern):  If string's data does not point to
+       this String, make a fresh String that does.
+
+       * java/lang/natString.cc (unintern):  Replace by static function.
+       * java/lang/String.java (unintern):  Remove method.
+
+2001-04-01  Per Bothner  <per@bothner.com>
+
+       * DeflaterOutputStream.java (deflate):  Loop while def.needsInput.
+       (finish):  def.deflate needs to be called in a loop.
+       (inbuf, inbufLength):  New private fields.
+       (write(int)): Use inbuf.
+       (write(byte[],int,int):  Check if pending output in inbuf.
+       * ZipOutputStream.java:  Don't use Deflater if stored.
+       Use a Checksum object directly, not via a CheckedOutputStream.
+       (uncompressed_size):  New field,
+       (closeEntry):  Only write data_directory if needed.
+       (write):  If STORED, write directly.
+       Always update crc, and uncompressed_size.
+       (write_entry):  Fix lots of protocol erors.
+
+2001-04-01  Bryce McKinlay  <bryce@albatross.co.nz>
+
+       1.3-Compliant Implementation of java.io.File.
+       * 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.
+
 2001-03-28  Richard Henderson  <rth@redhat.com>
 
        IA-64 ABI Exception Handling: