diff options
Diffstat (limited to 'libjava/ChangeLog')
-rw-r--r-- | libjava/ChangeLog | 344 |
1 files changed, 344 insertions, 0 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog index c6b5ef98e16..419a2dd55ea 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,347 @@ +2005-04-04 Steve Pribyl <steve@netfuel.com> + + PR libgcj/20761 + * configure.ac: Fix fastjar definition for cross builds. + * configure: Rebuilt. + +2005-04-04 Tom Tromey <tromey@redhat.com> + + * java/lang/ClassLoader.java (loadClass): Resolve class even if + it was already found. + +2005-04-04 Tom Tromey <tromey@redhat.com> + + * java/net/URL.java (DEFAULT_SEARCH_PATH): Added + org.metastatic.jessie. + +2005-04-02 Anthony Green <green@redhat.com> + + PR libgcj/20727 + * java/nio/DirectByteBufferImpl.java: Fix buffer ownership bug. + +2005-04-02 Mark Wielaard <mark@klomp.org> + + * javax/naming/directory/BasicAttributes.java (equals): Compare to any + Attributes and attribute order doesn't matter. + (BasicAttributesEnumeration.where): Initialize to zero. + (BasicAttributesEnumeration.nextElement): Update and compare where + appropriately (zero based). + +2005-04-01 Thomas Fitzsimmons <fitzsim@redhat.com> + + PR libgcj/20090, PR libgcj/20526 + * gij.cc (nonstandard_opts_help): New function. + (add_option): New function. + (main): Support java options. Set java.class.path. Don't set + _Jv_Jar_Class_Path. + * prims.cc (parse_x_arg): New function. + (parse_init_args): Call parse_x_arg for -X and _ options, when + ignoreUnrecognized is true. + (new _Jv_RunMain): New vm_args variant. + (old _Jv_RunMain): Call new vm_args _Jv_RunMain. + (_Jv_Jar_Class_Path): Remove variable. + * include/java-props.h: Likewise. + * include/cni.h (JvRealloc): New function. + * include/jvm.h (_Jv_RunMain): Declare vm_args variant. + * java/lang/natRuntime.cc (insertSystemProperties): Remove + _Jv_Jar_Class_Path logic. Use JV_VERSION and JV_API_VERSION + macros. + * configure.ac (JV_VERSION): Define. + (JV_API_VERSION): Likewise. + * configure: Regenerate. + * include/config.h.in: Regenerate. + +2005-04-01 Mark Anderson <mark@panonet.net> + + * java/lang/natDouble.cc (parseDouble): Handle NaN, Infinity and + -Infinity as parameters. + +2005-04-01 Michael Koch <konqueror@gmx.de> + + * java/io/PipedInputStream.java + (read): Make sure a positive byte value is returned. Revised javadoc. + Thanks to Olafur Bragason for reporting these bugs. + +2005-04-01 Jeroen Frijters <jeroen@frijters.net> + + * java/util/Timer.java + (run): Stop the queue if a task throws an exception. + +2005-03-31 Thomas Fitzsimmons <fitzsim@redhat.com> + + * javax/swing/text/JTextComponent.java (viewToModel): New method. + +2005-03-30 Thomas Fitzsimmons <fitzsim@redhat.com> + + * Makefile.am (gtk_c_source_files): Remove jni/classpath/jcl.c, + jni/classpath/jnilink.c, jni/classpath/primlib.c. + (lib_gnu_java_awt_peer_gtk_la_SOURCES): jni/classpath/jcl.h, + jni/classpath/jnilink.h, jni/classpath/primlib.h. + * Makefile.in: Regenerate. + * jni/classpath/jcl.h: Remove. + * jni/classpath/jcl.c: Likewise. + * jni/classpath/jnilink.h: Likewise. + * jni/classpath/jnilink.c: Likewise. + * jni/classpath/primlib.h: Likewise. + * jni/classpath/primlib.c: Likewise. + +2005-03-30 Andreas Tobler <a.tobler@schweiz.ch> + + * Makefile.am (classes.stamp): Add gnu/gcj/tools/gcj_dbtool/Main.java + to fix a ONESTEP fallout. + * Makefile.in: Regenerate. + +2005-03-30 Andreas Tobler <a.tobler@schweiz.ch> + + * testsuite/lib/libjava.exp (libjava_init): Use the same target + check for Darwin. + (libjava_arguments): Likewise. + + * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Likewise. + (gcj_jni_test_one): Likewise. + (gcj_jni_invocation_compile_c_to_binary): Likewise. + Add flags to keep the Darwin linker quiet. + (gcj_jni_invocation_test_one): Use the same target check for Darwin. + Add -liconv and lgcc_s for Darwin. + +2005-03-26 Chris Burdess <dog@gnu.org> + + * gnu/xml/dom/DomNode.java (notifyNode): grow listener array as + required. + +2005-03-13 Michael Koch <konqueror@gmx.de> + + * gnu/xml/aelfred2/XmlParser.java: Fixed typo. + +2005-03-11 Chris Burdess <dog@gnu.org> + + * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI + warnings. + +2005-02-27 Chris Burdess <dog@gnu.org> + + * gnu/xml/aelfred2/JAXPFactory.java, + gnu/xml/aelfred2/SAXDriver.java, + gnu/xml/aelfred2/XmlParser.java, + gnu/xml/aelfred2/XmlReader.java: Applied GNU Classpath source code + formatting conventions. Replaced arrays of Object with struct-like + classes for easier maintainability. Made SAXDriver.stringInterning + package private to allow access from XmlParser inside the loop without + a method call overhead. + +2005-03-11 Chris Burdess <dog@gnu.org> + + * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI + warnings. + +2005-03-28 Per Bothner <per@bothner.com> + + * boehm.cc (_Jv_MarkObj): Don't follow null pointer to static field, + which can happen if class is JV_STATE_LOADED but not JV_STATE_PREPARED. + +2005-03-28 Eric Botcazou <ebotcazou@libertysurf.fr> + + * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add + libsocket to the libraries to link for Solaris. + +2005-03-24 Anthony Green <green@redhat.com> + + * gnu/gcj/tools/gcj_dbtool/Main.java: Accept libdir argument with + -p option. + (usage): Add [LIBDIR] to help output. + * gnu/gcj/tools/gcj_dbtool/natMain.cc: New file. + * Makefile.am (AM_CXXFLAGS): Define + LIBGCJ_DEFAULT_DATABASE_PATH_TAIL. + (db_pathtail): New macro. + +2005-03-23 Sven de Marothy <sven@physto.se> + + PR libgcj/2641, PR libgcj/9854, PR libgcj/14892, PR libgcj/18083, + PR libgcj/11085: + * java/util/Calendar.java + (set): Use starting day of week when one is needed if none is given. + * java/text/SimpleDateFormat.java + (parse): Handle 1-12 and 1-24 timestamps correctly. + * java/util/GregorianCalendar.java + (computeTime, computeFields): HOUR should be in 0-11 format. + (nonLeniencyCheck): Adjust leniency checking to that fact. + (getLinearDay): Should be private. + +2005-03-22 Mohan Embar <gnustuff@thisiscool.com> + David Daney <ddaney@avtrex.com> + + * gnu/java/net/natPlainSocketImplWin32.cc (read): Handle + count == 0 case. + +2005-03-22 Mohan Embar <gnustuff@thisiscool.com> + + * Makefile.am ($(db_name)): Add $(EXEEXT) suffix to + gcj-dbtool dependency + * Makefile.in: Regenerated + +2005-03-22 Tom Tromey <tromey@redhat.com> + + * gnu/gcj/tools/gcj_dbtool/Main.java (usage): Fixed output. + +2005-03-21 Tom Tromey <tromey@redhat.com> + + * java/lang/VMCompiler.java (static block): Also catch + BufferUnderflowException. + +2005-03-16 Tom Tromey <tromey@redhat.com> + + * link.cc (ensure_class_linked): Removed #ifdef. + (print_class_loaded): Likewise. + (wait_for_state): Likewise. + * java/lang/Class.h (_Jv_IsInterpretedClass): Always declare. + * include/jvm.h (_Jv_IsInterpretedClass): Moved from... + * include/java-interp.h: ... here. + +2005-03-16 Tom Tromey <tromey@redhat.com> + + * gnu/java/lang/MainThread.java (run): Load main class using + system class loader. + +2005-03-15 Jakub Jelinek <jakub@redhat.com> + + PR libgcj/20251 + * Makefile.am (libjawt_la_LIBADD): Add -L$(here)/.libs. + * Makefile.in: Rebuilt. + +2005-03-15 David Daney <ddaney@avtrex.com> + + * gnu/java/net/natPlainSocketImplPosix.cc (read_helper): Handle + count == 0 case. + +2005-03-15 David Daney <ddaney@avtrex.com> + + * java/io/BufferedInputStream.java (available): Use 'in' instead + of 'super' for underlying stream access. + (close): Ditto. + (read(byte[], int, int)): Ditto. + (refill): Ditto. + (skip): Call skip on underlying stream when possible. + +2005-03-14 David Daney <ddaney@avtrex.com> + + * configure.host: Don't use -mxgot for MIPS builds. + +2005-03-10 Tom Tromey <tromey@redhat.com> + + * gnu/gcj/tools/gcj_dbtool/Main.java (main): Handle '-p'. + (usage): Document '-p'. + * Makefile.in: Rebuilt. + * Makefile.am (dbexecdir): New variable. + (db_name): Likewise. + (dbexec_DATA): Likewise. + ($(db_name)): New target. + (AM_CXXFLAGS): Define LIBGCJ_DEFAULT_DATABASE. + * java/lang/natRuntime.cc (insertSystemProperties): Set default + system database. + +2005-03-10 Chris Burdess <dog@bluezoo.org> + + * gnu/xml/dom/ls/SAXEventSink.java: Ignore element declarations if + not currently parsing the DTD. + +2005-03-10 Andrew Haley <aph@redhat.com> + + * gnu/java/nio/channels/FileChannelImpl.java (smallTransferFrom): + New. + (smallTransferTo): New. + (transferFrom): Loop around smallTransferFrom, copying pageSize + bytes each time. + (transferTo): Likewise. + +2005-03-09 David Daney <ddaney@avtrex.com> + + PR libgcj/20389 + Merge BufferedInputStream from GNU Classpath. + * java/io/BufferedInputStream.java (marktarget): Field removed. + (CHUNKSIZE): Field removed. + (bufferSize): New field. + (BufferedInputStream): Initialize fields. + (close): Invalidate mark and buffer indexes. + (mark): Rewritten. + (read()): Move mark handling code to refill. + (read(byte[], int, int)): Ditto. + (skip): Ditto and simplify EOF testing. + (refill): Rewritten. + * java/io/InputStreamReader.java (refill): Removed mark and reset + of internal BufferedInputStream. + +2005-03-09 Tom Tromey <tromey@redhat.com> + + * java/lang/natVMClassLoader.cc (defineClass): Reference + 'systemClassLoader' field directly. + * java/lang/natRuntime.cc (_load): Reference 'systemClassLoader' + field directly. + * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader): + Reference 'systemClassLoader' field directly. + (_Jv_UnregisterInitiatingLoader): Likewise. + (_Jv_FindClass): Likewise. + +2005-03-09 Tom Tromey <tromey@redhat.com> + + * java/net/URLClassLoader.java (addURLImpl): Reset 'thisString'. + (toString): Synchronize. + +2005-03-07 Tom Tromey <tromey@redhat.com> + + * gnu/gcj/tools/gcj_dbtool/Main.java (main): Recognize '-f'. + (usage): Document '-f'. + +2005-02-13 Anthony Green <green@redhat.com> + + * jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_drawable, + classpath_jawt_lock, classpath_jawt_unlock): New functions. + * jawt.c (_Jv_AWTLock, _Jv_AWTUnlock): New functions. + (_Jv_GetDrawingSurface): Set visualID. + (_Jv_FreeDrawingSurfaceInfo): Clear visualID. + (JAWT_GetAWT): Set Lock and Unlock. + * include/jawt_md.h (struct _JAWT_X11DrawingSurfaceInfo): Add visualID. + * include/jawt.h (JAWT_VERSION_1_4, JAWT_LOCK_ERROR, + JAWT_LOCK_CLIP_CHANGED, JAWT_LOCK_BOUNDS_CHANGED, + JAWT_LOCK_SURFACE_CHANGED): New macros. + (struct _JAWT): Add Lock and Unlock. + +2005-03-07 Tom Tromey <tromey@redhat.com> + + * java/lang/VMCompiler.java (md5Digest): New field. + (compileClass): Clone md5Digest instead of looking up a new one. + +2005-03-06 Tom Tromey <tromey@redhat.com> + + PR java/20215: + * include/jvm.h (_Jv_Linker::find_field_helper): Updated. + * link.cc (find_field_helper): Added 'type' argument. + (find_field): Updated. + +2005-03-06 Roger Sayle <roger@eyesopen.com> + + PR libgcj/20155 + * Makefile.am (libgcj0_convenience.la): Revert last change. + * Makefile.in: Regenerate. + +2005-03-05 Roger Sayle <roger@eyesopen.com> + Alexandre Oliva <aoliva@redhat.com> + Kelley Cook <kcook@gcc.gnu.org> + + PR libgcj/20155 + * Makefile.am (libgcj0_convenience.la): New rule to create a file + of the object files to link to avoid exceeding the command line + length limits on some platforms. + (clean-local): Clean up objectlist files. + * Makefile.in: Regenerate. + +2005-03-02 Thomas Fitzsimmons <fitzsim@redhat.com> + + PR libgcj/20292 + * testsuite/libjava.jni/jni.exp + (gcj_jni_invocation_compile_c_to_binary): Add -I. -I.. to compile + flags. + (gcj_jni_invocation_test_one): Add -L../.libs to cxx flags. + 2005-02-24 David Gilbert <david.gilbert@object-refinery.com> * java/awt/font/TextAttribute.java: changed names to lower case; |