1. 09 Jan, 2006 2 commits
    • Character.java (toChars,toCodePoint): Correct these methods to use algorithms… · 42801b98
      Character.java (toChars,toCodePoint): Correct these methods to use algorithms from Unicode specification.
      
      2006-01-08  Chris Burdess  <dog@gnu.org>
      
      	* java/lang/Character.java (toChars,toCodePoint): Correct these
      	  methods to use algorithms from Unicode specification.
      
      From-SVN: r109516
      Chris Burdess committed
    • StringBuilder.java (appendCodePoint): New method. · a79cb46c
      	* java/lang/StringBuilder.java (appendCodePoint): New method.
      	(insert): New overloads.
      	* java/lang/StringBuffer.java (StringBuffer): New constructor.
      	(charAt): Remerged javadoc.
      	(codePointAt, codePointBefore): New methods.
      	(appendCodePoint): New method.
      	(append): New overloads.
      	(insert): Likewise.
      	(trimToSize, codePointCount, offsetByCodePoints): New methods.
      	* java/lang/Float.java (SIZE): New field.
      	(valueOf): New method.
      	* java/lang/natDouble.cc (initIDs): Removed.
      	* java/lang/Double.java (static initializer): Removed.
      	(SIZE): New field.
      	(valueOf): New method.
      	(initIDs): Removed.
      
      From-SVN: r109497
      Tom Tromey committed
  2. 07 Jan, 2006 2 commits
  3. 06 Jan, 2006 3 commits
    • re PR libgcj/23499 (libgcj/classpath create empty directory $PREFIX/share/classpath/api/) · 782e9875
      	PR libgcj/23499:
      	* lib/Makefile.in: Rebuilt.
      	* lib/Makefile.am (glibj_DATA): Commented out.
      
      From-SVN: r109426
      Tom Tromey committed
    • [multiple changes] · 8479d5f1
      2005-12-26  Anthony Green  <green@redhat.com>
      
      	* gnu/java/nio/SocketChannelImpl.java (read): Compute the right amount
      	of data to read (dst.remaining()).
      	* gnu/java/nio/DatagramChannelImpl.java (receive): Ditto.
      
      2005-11-11  Mark Wielaard  <mark@klomp.org>
      
      	Reported by john.zigman@anu.edu.au as bug #24608.
      	* gnu/java/nio/SocketChannelImpl.java (read): Put readBytes in
      	destination ByteBuffer when it doesn't have an array instead of len
      	bytes.
      
      From-SVN: r109422
      Tom Tromey committed
    • natThread.cc (finish_): Don't clear 'group'. · 1058a848
      	* java/lang/natThread.cc (finish_): Don't clear 'group'.
      	* sources.am, Makefile.in: Rebuilt.
      	* java/lang/Runtime.java (exit): Merged with Classpath.
      	(runShutdownHooks): New method from Classpath.
      	* java/io/File.java (deleteOnExit): Use DeleteFileHelper, not
      	FileDeleter.
      	* gnu/gcj/runtime/FileDeleter.java: Removed.
      	* java/lang/natRuntime.cc (runFinalizationForExit): New method.
      	(exitInternal): Don't run finalizers or delete files.
      
      From-SVN: r109400
      Tom Tromey committed
  4. 05 Jan, 2006 1 commit
  5. 04 Jan, 2006 2 commits
  6. 03 Jan, 2006 1 commit
    • PR libgcj/9715, PR libgcj/19132: · 8ceb88d4
      	* java/nio/charset/Charset.java (charsetForName): Try default
      	provider first.
      	(availableCharsets): Re-merged.
      	(providers2): Likewise.
      	(defaultCharset): Likewise.
      	* sources.am, Makefile.in: Rebuilt.
      	* gnu/java/nio/charset/Provider.java: Removed.
      	* java/io/OutputStreamWriter.java
      	(OutputStreamWriter(OutputStream,Charset)): New constructor.
      	(OutputStreamWriter(OutputStream,CharsetEncoder)): Likewise.
      	* java/io/InputStreamReader.java
      	(InputStreamReader(InputStream,CharsetDecoder)): New constructor.
      	(InputStreamReader(InputStream,Charset)): Likewise.
      	* gnu/gcj/convert/BytesToUnicode.java (getDecoder): Try a
      	BytesToCharsetAdaptor.
      	* gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Try a
      	CharsetToBytesAdaptor.
      	* gnu/gcj/convert/CharsetToBytesAdaptor.java: New file.
      	* gnu/gcj/convert/BytesToCharsetAdaptor.java: New file.
      	* mauve-libgcj: Remove getEncoding exclusion.
      
      Co-Authored-By: Tom Tromey <tromey@redhat.com>
      
      From-SVN: r109294
      David Daney committed
  7. 28 Dec, 2005 4 commits
  8. 22 Dec, 2005 2 commits
  9. 19 Dec, 2005 1 commit
  10. 16 Dec, 2005 3 commits
  11. 15 Dec, 2005 1 commit
  12. 14 Dec, 2005 2 commits
  13. 12 Dec, 2005 1 commit
  14. 08 Dec, 2005 2 commits
    • re PR libgcj/25265 (linking BC-compiled classes with incompatible changes) · ccd83be5
      2005-12-08  Andrew Haley  <aph@redhat.com>
      
              PR libgcj/25265
              * java-tree.h (enum java_tree_index): Add JTI_SOFT_NOSUCHFIELD_NODE.
              (soft_abstractmethod_node): New.
              * expr.c (build_field_ref): Add in-line check for missing field.
              * decl.c (java_init_decl_processing): Add soft_nosuchfield_node.
      
      2005-12-08  Andrew Haley  <aph@redhat.com>
      
              PR libgcj/25265
              * java/lang/Object.h (throwNoSuchMethodError): New method.
              * java/lang/Object.java (throwNoSuchMethodError): New method.
              * include/jvm.h (_Jv_ThrowNoSuchFieldError): Declare.
              * link.cc (_Jv_ThrowNoSuchFieldError): New.
              (link_symbol_table): Don't throw a NoSuchFieldError if a field is
              missing.  Instead, set the otable entry to zero.
              (link_symbol_table): If we don't find a nonstatic method, insert
              the vtable offset of Object.throwNoSuchMethodError() into the
              otable.
      
      From-SVN: r108235
      Andrew Haley committed
    • Object.h (throwNoSuchMethodError): New method. · 9edd0f5e
      2005-12-08  Andrew Haley  <aph@redhat.com>
      
              * java/lang/Object.h (throwNoSuchMethodError): New method.
              * java/lang/Object.java (throwNoSuchMethodError): New method.
              * include/jvm.h (_Jv_ThrowNoSuchFieldError): Declare.
              * link.cc (_Jv_ThrowNoSuchFieldError): New.
              (link_symbol_table): Don't throw a NoSuchFieldError if a field is
              missing.  Instead, set the otable entry to zero.
              (link_symbol_table): If we don't find a nonstatic method, insert
              the vtable offset of Object.throwNoSuchMethodError() into the
              otable.
      
      From-SVN: r108231
      Andrew Haley committed
  15. 06 Dec, 2005 1 commit
  16. 01 Dec, 2005 2 commits
  17. 30 Nov, 2005 2 commits
  18. 29 Nov, 2005 1 commit
    • re PR java/18278 (JNI functions cannot return a weak reference) · 3141ed0f
      gcc/java:
      	PR java/18278:
      	* expr.c (build_jni_stub): Unwrap the return value.
      	* java-tree.h (soft_unwrapjni_node): New define.
      	(enum java_tree_index): Added JTI_SOFT_UNWRAPJNI_NODE.
      	* decl.c (java_init_decl_processing): Initialize
      	soft_unwrapjni_node.
      libjava:
      	PR java/18278:
      	* testsuite/libjava.jni/pr18278.out: New file.
      	* testsuite/libjava.jni/pr18278.c: New file.
      	* testsuite/libjava.jni/pr18278.java: New file.
      	* include/jvm.h (_Jv_UnwrapJNIweakReference): Declare.
      	* jni.cc (_Jv_UnwrapJNIweakReference): New function.
      	(call): Unwrap return value if needed.
      
      From-SVN: r107676
      Tom Tromey committed
  19. 25 Nov, 2005 5 commits
  20. 18 Nov, 2005 1 commit
  21. 17 Nov, 2005 1 commit
    • [multiple changes] · f4e1433a
      2005-11-17  Mark Wielaard  <mark@klomp.org>
      
             * gnu/java/net/protocol/file/Handler.java: Removed, fully merged now.
             * java/net/ServerSocket.java: Likewise.
             * sources.am: Regenerated.
             * Makefile.in: Regenerated.
      
      2005-11-17  Mark Wielaard  <mark@klomp.org>
      
             Fixes bug #24006
             * java/net/ServerSocket.java (implAccept): Set Socket.bound to true.
      
      2005-11-17  Tom Tromey  <tromey@redhat.com>
      
             * java/net/ServerSocket.java (accept): Use correct security manager
             call.
      
      2005-11-17  Jeroen Frijters  <jeroen@frijters.net>
      
             * java/net/ServerSocket.java
             (bound): Removed.
             (local): New field.
             (bind): Cache local socket address.
             (getInetAddress, getLocalPort, getLocalSocketAddress, isBound):
             Use cached local socket address.
             (close): bound field was removed.
      
      2005-11-17  Tom Tromey  <tromey@redhat.com>
      
             * java/net/URLConnection.java (setDoInput): Javadoc fix.
             (setDoOutput): Likewise.
             (setContentHandlerFactory): Likewise.
             (setFileNameMap): Likewise.
      
      2005-11-17  Mark Wielaard  <mark@klomp.org>
      
             * java/net/URLClassloader.java (addURLs): Add comment about jboss.
      
      2005-11-17  Mark Wielaard  <mark@klomp.org>
      
             * java/net/URLClassLoader.java (addURLs): Don't call addURL(), but
             call urls.add() and addURLImpl() directly on each URL.
      
      2005-11-17  Tom Tromey  <tromey@redhat.com>
      
             * java/net/URLClassLoader.java (definePackage): Javadoc fixes.
      
      2005-11-17  Jeroen Frijters  <jeroen@frijters.net>
      
             * java/net/URLClassLoader.java
             (Resource.name): Removed field.
             (JarURLResource.name): Added field.
             (FileResource.getURL): Use File.toURL() instead of doing it in
             a way that breaks on Windows.
      
      2005-11-17  Roman Kennke  <roman@kennke.org>
      
             Reported by: Ingo Proetel  <proetel@aicas.com>
             * java/net/URLClassLoader.java
             (findClass): Added null check to avoid NullPointerException.
      
      2005-11-17  David Gilbert  <david.gilbert@object-refinery.com>
      
             * java/net/URLClassLoader.java: reordered some API doc comments to
             suppress Eclipse warnings, and fixed API doc link.
      
      2005-11-17  Tom Tromey  <tromey@redhat.com>
      
             * java/net/URLClassLoader.java (URLClassLoader): Removed
             unused constructor.
      
      2005-11-17  Jeroen Frijters  <jeroen@frijters.net>
      
             * java/net/URLClassLoader (findClass): Close InputStream after we're
             done with it.
      
      From-SVN: r107133
      Mark Wielaard committed