OSDN Git Service

2005-12-08 Andrew Haley <aph@redhat.com>
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
index 3834686..57f1d4d 100644 (file)
@@ -1,3 +1,501 @@
+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.
+
+2005-12-05  Tom Tromey  <tromey@redhat.com>
+
+       * testsuite/libjava.compile/rh174912.java: New file.
+
+2005-12-01  Geoffrey Keating  <geoffk@apple.com>
+
+       * testsuite/lib/libjava.exp (test_libjava_from_javac): Support
+       xfail-byte-exec.
+       * testsuite/libjava.lang/Array_3.xfail: New file.
+
+2005-12-01  Alan Modra  <amodra@bigpond.net.au>
+
+       * stacktrace.cc (UnwindTraceFn): Use UNWRAP_FUNCTION_DESCRIPTOR
+       to compare _Jv_InterpMethod::run against current func.
+
+2005-11-30  Andrew Haley  <aph@redhat.com>
+
+       * classpath/lib/Makefile.am (resources): Use `cp -p'.
+       Remove `@' from start of line.
+
+2005-11-28  Tom Tromey  <tromey@redhat.com>
+
+       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.
+
+2005-11-25  Mark Wielaard  <mark@klomp.org>
+
+       * standard.omit.in: Remove javax/rmi, org/omg, gnu/CORBA and
+       gnu/javax/rmi.
+       * scripts/makemake.tcl: Set javax/rmi, org/omg, gnu/CORBA and
+       gnu/javax/rmi to bc.
+       * gnu/CORBA/ObjectCreator.java: New override file for missing
+       VMStackWalker issue.
+       * gnu/CORBA/DynAn/gnuDynValue.java: New override file for bug #24938
+       * gnu/CORBA/DynAn/RecordAny.java: Likewise
+       * sources.am: Regenerated.
+       * Makefile.in: Regenerated
+
+2005-11-25  Andrew Haley  <aph@redhat.com>
+
+       PR libgcj/25016
+       * posix-threads.cc (_Jv_CondWait): Rewrite calculation of the
+       struct timespec we pass to pthread_cond_timedwait.
+
+2005-11-25  Ranjit Mathew  <rmathew@gcc.gnu.org>
+
+       * testsuite/libjava.jacks/jacks.xfail: Remove
+       non-jls-argument-expansion-13 and add
+       non-jls-argument-expansion-error-1 in response to the @file support
+       patch in the main GCC driver.
+
+2005-11-24  Bryce McKinlay  <mckinlay@redhat.com>
+
+       * sysdep/ia64-frame.h: Removed.
+       * sysdep/ia64.c: Removed.
+       * sysdep/dwarf2-backtrace.cc: Removed.
+       * configure.ac: Remove references to HAVE_BACKTRACE and
+       SUPPLY_BACKTRACE.
+       * Makefile.am: Remove SUPPLY_BACKTRACE support.
+       * configure: Rebuilt.
+       * Makefile.in: Rebuilt.
+
+2005-11-24  Bryce McKinlay  <mckinlay@redhat.com>
+
+       * gij.cc (nonstandard_opts_help): Add entry for -Xss.
+
+2005-11-17  Mark Wielaard  <mark@klomp.org>
+
+       Imported GNU Classpath gcj-import-20051117.
+       * gnu/java/net/protocol/file/Connection.java: Removed, fully merged.
+       * sources.am: Regenerated.
+       * Makefile.in: Likewise.
+
+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.
+
+2005-11-17  Bryce McKinlay  <mckinlay@redhat.com>
+
+       Implement -Xss.
+       * include/jvm.h (gcj::stack_size): Declare.
+       (_Jv_StackSize): Declare.
+       * posix-threads.cc (_Jv_InitThreads): Validate gcj::stack_size.
+       (_Jv_ThreadStart): Set stack size if specified.
+       * prims.cc (gcj::stack_size): Define.
+       (parse_memory_size): Renamed from parse_heap_size.
+       (_Jv_SetStackSize): Parse stack size argument and set 
+       gcj::stack_size.
+
+2005-11-17  Mark Wielaard  <mark@klomp.org>
+
+       * java/text/SimpleDateFormat.java: Removed, fully merged now.
+       * sources.am: Regenerated.
+       * Makefile.in: Regenerated.
+
+2005-11-17  Sven de Marothy  <sven@physto.se>
+
+       * java/text/SimpleDateFormat.java
+       (computeOffset): Allow timezone to be first in the parsed String.
+
+2005-11-17  Mark Wielaard  <mark@klomp.org>
+
+       * java/text/SimpleDateFormat.java (field, size): Make package private.
+
+2005-11-17  Tom Tromey  <tromey@redhat.com>
+
+       * java/text/SimpleDateFormat.java (compileFormat): Correctly
+       handle quoted single quotes.  PR classspath/23183.
+
+2005-11-17  Tom Tromey  <tromey@redhat.com>
+
+       * java/text/SimpleDateFormat.java (compileFormat): Reformatted.
+
+2005-11-17  Tom Tromey  <tromey@redhat.com>
+
+       * java/text/DateFormat.java (serialVersionUID): New field.
+
+2005-11-17  Mark Wielaard  <mark@klomp.org>
+
+       * java/text/DateFormat.java (equals): Reimplement.
+
+2005-11-17  David Gilbert  <david.gilbert@object-refinery.com>
+
+       * java/text/Collator.java: API doc fixes,
+       * java/text/DateFormat.java: likewise,
+       * java/text/DecimalFormatSymbols.java: likewise,
+       * java/text/DateFormatSymbols.java: likewise,
+       * java/text/SimpleDateFormat.java: likewise.
+
+2005-11-17  Jeroen Frijters  <jeroen@frijters.net>
+
+       * java/text/Collator.java (getInstance(Locale)):
+       Added default collation pattern to handle case when resource
+       is missing and throw InternalError instead of returning null
+       should parsing fail.
+
+2005-11-15  Mark Wielaard  <mark@klomp.org>
+
+       * java/util/zip/ZipEntry.java: Removed, fully merged now.
+       * java/util/zip/ZipFile.java: Likewise.
+       * sources.am: Regenerated.
+       * Makefile.in: Regenerated.
+
+2005-11-15  Tom Tromey  <tromey@redhat.com>
+
+       classpath/23890:
+       * java/util/Calendar.java (equals): Include other calendar
+       attributes.
+       (hashCode): Updated.
+       * java/util/GregorianCalendar.java (hashCode): New method.
+       (equals): Use super.equals().
+
+2005-11-15  Sven de Marothy  <sven@physto.se>
+
+       * java/util/Calendar (setTimeInMillis): Recompute time fields.
+
+2005-11-15  Mark Wielaard  <mark@klomp.org>
+
+       * java/util/SimpleTimeZone.java: Removed, fully merged now.
+       * java/util/Date.java: Likewise.
+       * sources.am: Regenerated.
+       * Makefile.in: Regenerated.
+
+2005-11-15  David Gilbert  <david.gilbert@object-refinery.com>
+
+       * java/util/Calendar.java: fixed minor problems in API docs,
+       * java/util/Date.java: likewise,
+       * java/util/ResourceBundle.java: likewise,
+       * java/util/SimpleTimeZone.java: likewise,
+
+2005-11-15  Jeroen Frijters  <jeroen@frijters.net>
+
+       * java/io/ObjectInputStream.java
+       (parseContent): Removed bogus println and fixed bug #24422.
+               
+2005-11-15  Mark Wielaard  <mark@klomp.org>
+
+       * java/io/ObjectStreamClass.java: Removed, fully merged now.
+       * sources.am: Regenerated.
+       * Makefile.in: Regenerated.
+
+2005-11-15  Wolfgang Baer  <WBaer@gmx.de>
+
+       * java/io/ObjectInputStream.java
+       (processResolution): Pass Error, RuntimeException and
+       ObjectStreamException through to the caller.
+       (readObject): Documentation update.
+
+2005-11-15  Mark Wielaard  <mark@klomp.org>
+
+       Imported GNU Classpath 0.19 + gcj-import-20051115.
+       * sources.am: Regenerated.
+       * Makefile.in: Likewise.
+       * scripts/makemake.tcl: Use glob -nocomplain.
+
+2005-11-15  Scott Gilbertson  <scottg@mantatest.com>
+
+       * Makefile.in: Re-generated.
+       * gnu/awt/xlib/XGraphicsDevice.java: New file.
+       * gnu/awt/xlib/XToolkit.java
+       (getLocalGraphicsEnvironment): Implemented. 
+       * gnu/awt/xlib/XGraphicsEnvironment.java: New file.
+       * sources.am: Re-generated.
+
+2005-15-09  David Daney <ddaney@avtrex.com>
+
+       PR libgcj/15430
+       * gnu/java/net/natPlainSocketImplPosix.cc (throw_on_sock_closed): New
+       function.
+       (accept): Call it.
+       (close): Call shutdown before closing.
+       (read()): Call read_helper with proper parameters.
+       (read(buffer, int, int)): Likewise.
+       (read_helper):  Pass pointer to the PlainSocketImpl, remove native_fd
+       and timeout parameters.  Make prototype to match. Use 
+       pointer to PlainSocketImpl to access members. Call throw_on_sock_closed
+       in two places.
+
+2005-11-15  Andrew Haley  <aph@redhat.com>
+
+       * Merge from Classpath head:
+
+   2005-09-16  Andrew Haley  <aph@redhat.com>
+   
+           * java/io/ObjectStreamClass.java (findAccessibleMethod): Allow
+           protected readResolve().  Rewrite accessibility check.
+   
+   2005-07-07  Jeroen Frijters  <jeroen@frijters.net>
+   
+           * java/io/ObjectStreamClass.java
+           (findAccessibleMethod): Added code to make method accessible.
+   
+   2005-07-03  Daniel Bonniot  <bonniot@users.sf.net>
+   
+           * java/io/ObjectStreamClass.java (inSamePackage): New private method.
+           (findAccessibleMethod): Likewise.
+           (cacheMethods): Lookup readResolve and writeReplace using the new
+           findAccessibleMethod().
+   
+2005-11-14  Mohan Embar  <gnustuff@thisiscool.com>
+
+       * java/net/natVMNetworkInterfaceWin32.cc: Include
+       java/net/VMNetworkInterface.h.
+
+2005-11-14  Mohan Embar  <gnustuff@thisiscool.com>
+           David Daney  <ddaney@avtrex.com>
+
+       * gnu/java/net/natPlainSocketImplWin32.cc: Updated copyright.
+       (read): Handle count == 0 case.
+
+2005-11-09  Tom Tromey  <tromey@redhat.com>
+
+       * testsuite/libjava.jacks/jacks.xfail (non-jls-zip-2): Now
+       passes.
+
+2005-11-08  Tom Tromey  <tromey@redhat.com>
+
+       PR libgcj/24587:
+       * gnu/classpath/SystemProperties.java: Set gnu.classpath.version.
+
+2005-11-08  Tom Tromey  <tromey@redhat.com>
+
+       PR libgcj/23763.  From aeby@graeff.com.
+       * java/lang/natPosixProcess.cc (nativeSpawn): Unblock SIGCHLD
+       before exec.
+
+2005-11-08  Mark Wielaard  <mark@klomp.org>
+
+       * scripts/makemake.tcl: Set package gnu/javax/sound/midi to bc.
+
+2005-11-07  David Daney  <ddaney@avtrex.com>
+
+       * mauve-libgcj: Disable javax.rmi.* and
+       java.io.InputStreamReader.getEncoding.
+
+2005-11-04  Tom Tromey  <tromey@redhat.com>
+
+       PR libgcj/14358, libgcj/24552:
+       * gnu/gcj/convert/IOConverter.java: Regenerate aliases.  Add
+       aliases for 'euc_jp' and 'eucjp'.
+       * scripts/encodings.pl: Recognize 'none', not 'NONE'.  Include
+       canonical names in output.
+       (%map): Added UnicodeLittle and UnicodeBig.
+
+2005-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
+
+       * include/sh-signal.h (MAKE_THROW_FRAME): Remove trailing whitespace.
+
+2005-11-02  Andreas Tobler  <a.tobler@schweiz.ch>
+
+       * testsuite/lib/libjava.exp (libjava_find_lib): Add dylib to the shared
+       library extensions.
+
+2005-10-12  Andrew Haley  <aph@redhat.com>
+
+       PR java/24251
+       * link.cc (ensure_method_table_complete): Install Miranda methods
+       for interfaces too.
+
+2005-10-10  Tom Tromey  <tromey@redhat.com>
+
+       * testsuite/libjava.lang/ExtraClassLoader.out: New file.
+       * testsuite/libjava.lang/TestProxy.java (MyInvocationHandler):
+       Now static.
+
+2005-10-05  Richard Henderson  <rth@redhat.com>
+
+       PR target/23602
+       * configure.host (i?86-*): Set -fomit-frame-pointer in libgcj_flags,
+       but not BACKTRACESPEC.
+       (x86_64-*): Similarly.  Don't set -ffloat-store in 64-bit mode.
+
+2005-10-02  Andrew Pinski  <pinskia@physics.uc.edu>
+
+       * testsuite/lib/jni.exp (gcj_jni_test_one): For
+       darwin, use -shared-libgcc not -lgcc_s, and explain why.
+       (gcj_jni_invocation_test_one): Likewise.
+
+2005-09-30  Tom Tromey  <tromey@redhat.com>
+
+       PR libgcj/24051:
+       * Makefile.in: Rebuilt.
+       * Makefile.am (toolexeclib_LTLIBRARIES): Add Qt library if
+       requested.
+       (lib_gnu_java_awt_peer_qt_la_SOURCES): New variable.
+       (lib_gnu_java_awt_peer_qt_la_LIBADD): Likewise.
+       (lib_gnu_java_awt_peer_qt_la_DEPENDENCIES): Likewise.
+       (lib_gnu_java_awt_peer_qt_la_LDFLAGS): Likewise.
+       (lib_gnu_java_awt_peer_qt_la_LINK): Likewise.
+       * configure: Rebuilt.
+       * configure.ac: Pass --enable-qt-peers when qt is requested.
+
+2005-09-29  Andreas Tobler  <a.tobler@schweiz.ch>
+
+       * configure.ac: Fix typo.
+       * configure: Regenerate.
+
+2005-09-28  Geoffrey Keating  <geoffk@apple.com>
+
+       * sysdep/powerpc/locks.h: Use 64-bit versions of primitives when
+       __LP64__ is defined rather than __powerpc64__.
+       (compare_and_swap): 'ret' is an obj_addr_t not just an int.
+       (compare_and_swap_release): Likewise.
+
+2005-09-28  David Daney  <ddaney@avtrex.com>
+
+       * HACKING: Update instructions for classpath import.
+
+2005-09-27  Tom Tromey  <tromey@redhat.com>
+
+       PR libgcj/23367:
+       * include/jvm.h (_Jv_FreeMethodCache): Declare.
+       * java/lang/natClass.cc (MCACHE_SIZE): Conditional on HAVE_TLS.
+       (struct _Jv_mcache): Likewise.
+       (method_cache): Likewise.
+       (_Jv_FindMethodInCache): Do nothing unless TLS is available.
+       (_Jv_AddMethodToCache): Likewise.
+       (_Jv_FreeMethodCache): New function.
+       * java/lang/natThread.cc (finish_): Call _Jv_FreeMethodCache.
+       * aclocal.m4, configure, include/config.h.in: Rebuilt.
+       * configure.ac: Invoke GCC_CHECK_TLS.
+
+2005-09-27  Tom Tromey  <tromey@redhat.com>
+
+       * configure, Makefile.in: Rebuilt.
+       * sources.am: Rebuilt.
+       * scripts/makemake.tcl (emit_bc_rule): Special-case qt.
+       * configure.ac (TOOLKIT): Handle Qt peers properly.
+
+2005-09-23  Tom Tromey  <tromey@redhat.com>
+
+       Imported Classpath 0.18.
+       * sources.am, Makefile.in: Updated.
+       * Makefile.am (nat_source_files): Removed natProxy.cc.
+       * java/lang/reflect/natProxy.cc: Removed.
+       * gnu/classpath/jdwp/VMFrame.java,
+       gnu/classpath/jdwp/VMIdManager.java,
+       gnu/classpath/jdwp/VMVirtualMachine.java,
+       java/lang/reflect/VMProxy.java: New files.
+
+2005-09-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
+
+       * scripts/makemake.tcl (verbose): Add gnu/java/awt/peer/qt to BC
+       list.
+
+2005-09-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
+
+       * gnu/java/net/DefaultContentHandlerFactory.java (getContent):
+       Remove ClasspathToolkit references.
+
+2005-09-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
+
+       * gnu/awt/xlib/XCanvasPeer.java: Add new peer methods.
+       * gnu/awt/xlib/XFramePeer.java: Likewise.
+       * gnu/awt/xlib/XGraphicsConfiguration.java: Likewise.
+
+2005-09-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
+
+       * Makefile.am (libgcjawt_la_SOURCES): Remove jawt.c.  Add
+       classpath/native/jawt/jawt.c.
+       * Makefile.in: Regenerate.
+       * jawt.c: Remove file.
+       * include/Makefile.am (tool_include__HEADERS): Remove jawt.h and
+       jawt_md.h.  Add ../classpath/include/jawt.h and
+       ../classpath/include/jawt_md.h.
+       * include/Makefile.in: Regenerate.
+       * include/jawt.h: Regenerate.
+       * include/jawt_md.h: Regenerate.
+
 2005-09-21  Bryce McKinlay  <mckinlay@redhat.com>
 
        * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Pass