aboutsummaryrefslogtreecommitdiff
path: root/libjava
AgeCommit message (Collapse)AuthorFilesLines
2004-07-16configure.in: Use build_noncanonical rather than build_alias.Nathanael Nerode3-347/+349
* configure.in: Use build_noncanonical rather than build_alias. * configure: Rebuild. From-SVN: r84835
2004-07-16configure.in: Eliminate CANADIAN and NULL_TARGET variables by logic refactoring.Nathanael Nerode3-269/+240
* configure.in: Eliminate CANADIAN and NULL_TARGET variables by logic refactoring. Move default definition of NATIVE closer to first alternate definition. * configure: Regenerate. From-SVN: r84834
2004-07-16Makefile.am: Set ZIP and GCJH directly using autoconf.Nathanael Nerode8-127/+143
* Makefile.am: Set ZIP and GCJH directly using autoconf. * Makefile.in, include/Makefile.in, testsuite/Makefile.in, gcj/Makefile.in: Regenerate. * configure.in: Set ZIP and GCJH. Remove redundant condition in AM_CONDITIONAL(NATIVE,...) * configure: Regenerate. From-SVN: r84832
2004-07-16configure.in: Use target_noncanonical rather than target_alias for ↵Nathanael Nerode11-18/+82
forward-compatibility with... * configure.in: Use target_noncanonical rather than target_alias for forward-compatibility with autoconf 2.59. * configure: Regenerate. * Makefile.am, gcj/Makefile.am, include/Makefile.am, testsuite/Makefile.am: Substitute target_noncanonical. * Makefile.in, gcj/Makefile.in, include/Makefile.in, testsuite/Makefile.in: Regenerate. From-SVN: r84802
2004-07-16configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.Nathanael Nerode5-453/+483
* configure.in: Move as much as possible below AC_CANONICAL_SYSTEM. Introduce _GCC_TOPLEV_NONCANONICAL_TARGET. * acinclude.m4: Include acx.m4. * aclocal.m4: Regenerate. * configure: Regenerate. From-SVN: r84797
2004-07-15re PR libgcj/16574 (java.sql.Timestamp#toString() does not deal with ↵Bryce McKinlay2-15/+46
fractional seconds correctly) 2004-07-15 Bryce McKinlay <mckinlay@redhat.com> PR libgcj/16574 * java/sql/Timestamp.java (dateFormat): Renamed from sdf. (decimalFormat): New static variable. (sbuf): Likewise. (getTime): New. Override Date.getTime(). (toString): Synchronize. Use decimalFormat to format nanos value correctly. Truncate extra zeros. (before): Compare getNanos() only if getTime() is equal. (after): Likewise. From-SVN: r84784
2004-07-15acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...Nathanael Nerode5-835/+695
* acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into... * configure.in: ...here. * aclocal.m4: Regenerate. * configure: Regenerate. From-SVN: r84749
2004-07-15aclocal.m4: Rebuilt with aclocal gcj-1.4.Nathanael Nerode7-1470/+21
* aclocal.m4: Rebuilt with aclocal gcj-1.4. * configure: Rebuilt with autoconf 2.13. * Makefile.in, gcj/Makefile.in, include/Makefile.in, testsuite/Makefile.in: Rebuilt with automake gcj-1.4. From-SVN: r84743
2004-07-15re PR libgcj/16204 (File I/O fails on files >= 2^31 bytes (2GB))Bryce McKinlay5-1/+50
2004-07-14 Bryce McKinlay <mckinlay@redhat.com> PR libgcj/16204 * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable large file support. * Makefile.in: Rebuilt. * testsuite/libjava.lang/LargeFile.java: New test case. * testsuite/libjava.lang/LargeFile.out: New file. From-SVN: r84733
2004-07-14EventHandler.java: Remove debugging statements.Jerry Quinn2-3/+4
2004-07-14 Jerry Quinn <jlquinn@optonline.net> * java/beans/EventHandler.java: Remove debugging statements. From-SVN: r84715
2004-07-14EventHandler.java: New file.Jerry Quinn7-12/+415
2004-07-14 Jerry Quinn <jlquinn@optonline.net> * java/beans/EventHandler.java: New file. * Makefile.am (awt_java_source_files): Add EventHandler.java. * Makefile.in, gcj/Makefile.in, include/Makefile.in, testsuite/Makefile.in: Regenerate. From-SVN: r84714
2004-07-14jacks.exp (gcj_jacks_write): Add deprecation flag to the gcj_setup.Andreas Tobler3-61/+24
2004-07-14 Andreas Tobler <a.tobler@schweiz.ch> * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation flag to the gcj_setup. (gcj_jacks_run): Check tclsh version and launch jacks directly with the tclsh. * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the deprecation flag change. 58 XFAILS removed. From-SVN: r84710
2004-07-14s390.md ("udivsi3"): Ensure trap is generated for division by zero.Ulrich Weigand3-3/+166
gcc/ChangeLog: * config/s390/s390.md ("udivsi3"): Ensure trap is generated for division by zero. ("umodsi3"): Likewise. libjava/ChangeLog: * configure.host (DIVIDESPEC) [s390*-*-*]: Set to -fno-use-divide-subroutine. * include/s390-signal.h: Include <ucontext.h> and <limits.h>. (HANDLE_FPE): Define. (SIGNAL_HANDLER): Change third argument to ucontext_t *. (struct old_s390_kernel_sigaction): Likewise for k_sa_handler. (HANDLE_DIVIDE_OVERFLOW): Define. From-SVN: r84683
2004-07-13InputContext.java: Initialze in, line.Michael Koch2-2/+7
2004-07-14 Michael Koch <konqueror@gmx.de> Matthias Klose <doko@debian.org> * java/awt/im/InputContext.java: Initialze in, line. Co-Authored-By: Matthias Klose <doko@debian.org> From-SVN: r84648
2004-07-13interpret.cc (run): Correctly access libffi return values of integral ↵Ulrich Weigand2-3/+8
smaller-than-int type... * interpret.cc (run): Correctly access libffi return values of integral smaller-than-int type; these are implicitly promoted. From-SVN: r84645
2004-07-13re PR libgcj/7587 (direct threaded interpreter not thread-safe)Bryce McKinlay4-2/+38
2004-07-13 Bryce McKinlay <mckinlay@redhat.com> PR libgcj/7587 * interpret.cc (compile_mutex): New. (_Jv_InitInterpreter): New. Initialize compile_mutex. (run): Lock compile_mutex before calling compile() if compilation is required. * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter(). * include/java-interp.h (_Jv_InitInterpreter): Declare. From-SVN: r84644
2004-07-13re PR libgcj/15713 (compile interpret.cc with -fno-strict-aliasing)Bryce McKinlay4-36/+57
2004-07-12 Bryce McKinlay <mckinlay@redhat.com> PR libgcj/15713 * include/jvm.h (_Jv_value): New union type. * gcj/field.h (_Jv_Field): Add new _addr union field variants * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field union members. From-SVN: r84596
2004-07-12XCanvasPeer.java (createImage): Implement.Scott Gilbertson5-5/+140
2004-07-12 Scott Gilbertson <scottg@mantatest.com> * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement. * gnu/awt/xlib/XOffScreenImage.java (XOffScreenImage): Add ImageConsumer interface. Add ColorModel constructor argument. Add constructor using ImageProducer. (getSource): Implement. (imageComplete): New method. (setColorModel): New method. (setDimensions): New method. (setHints): New method. (setPixels): New method. (setProperties): New method. * gnu/gcj/xlib/GC.java (drawPoint): New native method. * gnu/gcj/xlib/natGC.cc (drawPoint): New native method. From-SVN: r84564
2004-07-11re PR libgcj/16478 (Hash synchronization deadlock with finalizers)Bryce McKinlay1-1/+1
2004-07-11 Bryce McKinlay <mckinlay@redhat.com> PR libgcj/16478 * prims.cc (_Jv_CreateJavaVM): Fix comment. * gnu/gcj/runtime/FinalizerThread.java (init): New. Native. (finalizerReady): Now native. (run): Likewise. (runFinalizers): Removed. * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use a primitive lock, and don't hold it while running the finalizers. (runFinalizers): Implement. Don't aquire any Java lock. (finalizerReady): Use lock primitives to signal finalizer thread. From-SVN: r84534
2004-07-11re PR awt/16748 (IAA.ImageComponentsTest: Freezes When Window Is Resized)Bryce McKinlay4-52/+63
2004-07-11 Bryce McKinlay <mckinlay@redhat.com> PR libgcj/16748 * prims.cc (_Jv_CreateJavaVM): Fix comment. * gnu/gcj/runtime/FinalizerThread.java (init): New. Native. (finalizerReady): Now native. (run): Likewise. (runFinalizers): Removed. * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use a primitive lock, and don't hold it while running the finalizers. (runFinalizers): Implement. Don't aquire any Java lock. (finalizerReady): Use lock primitives to signal finalizer thread. From-SVN: r84531
2004-07-11Reported by Roman Kennke <roman@ontographics.com> (bug #9331)Mark Wielaard2-3/+11
Reported by Roman Kennke <roman@ontographics.com> (bug #9331) * java/net/URLStreamHandler.java (parseURL): When url file part doesn't contain a '/' just ignore context. From-SVN: r84518
2004-07-11linux.h (MD_FALLBACK_FRAME_STATE_FOR): For SIGSEGV and SIGBUS signal frames...Ulrich Weigand2-14/+15
ChangeLog: * config/s390/linux.h (MD_FALLBACK_FRAME_STATE_FOR): For SIGSEGV and SIGBUS signal frames, the PSW address points *to* the faulting instruction, not after it. libjava/ChangeLog: * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype. (struct old_s390_kernel_sigaction): Likewise for k_sa_handler. (MAKE_THROW_FRAME): Do not modify PSW address. (INIT_SEGV): Install SIGINFO-style signal handler. (INIT_FPE): Likewise. From-SVN: r84506
2004-07-10jacks.xfail: Updates to reflect current status.Bryce McKinlay2-21/+5
2004-07-10 Bryce McKinlay <mckinlay@redhat.com> * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current status. 21 xfail's removed, 1 added. From-SVN: r84461
2004-07-10javaprims.h: Regenerate CNI namespace definitions.Bryce McKinlay2-0/+5
2004-07-10 Bryce McKinlay <mckinlay@redhat.com> * gcj/javaprims.h: Regenerate CNI namespace definitions. From-SVN: r84459
2004-07-102004-07-10 Ito Kazumitsu <kaz@maczuka.gcd.org>Ito Kazumitsu2-36/+41
* java/text/MessageFormat.java (formatInternal): Append "{n}" if argument n is unavailable. (format(Object, StringBuffer, FieldPosition)): This should be equivalent to format(Object[], StringBuffer, FieldPosition). From-SVN: r84448
2004-07-10java.util.Calendar.java (cache): New private static field.Bryce McKinlay2-17/+66
2004-07-09 Bryce McKinlay <mckinlay@redhat.com> * java.util.Calendar.java (cache): New private static field. Cached mappings of locales->calendar classes. (ctorArgTypes): New private static field. Singleton argument for calendar class constructor lookup. (getInstance): Cache Locale->Calendar class mappings using HashMap. Optimize by bypassing reflection instantiation for the GregorianCalendar case. From-SVN: r84438
2004-07-10Calendar.java: Use getSystemClassLoader as argument for ↵Bryce McKinlay11-10/+25
ResourceBundle.getBundle() calls. 2004-07-09 Bryce McKinlay <mckinlay@redhat.com> * java/util/Calendar.java: Use getSystemClassLoader as argument for ResourceBundle.getBundle() calls. * java/util/GregorianCalendar.java: Likewise. * java/util/Currency.java: Likewise. * java/text/BreakIterator.java: Likewise. * java/text/Collator.java: Likewise. * java/text/DateFormat.java: Likewise. * java/text/DateFormatSymbols.java: Likewise. * java/text/DecimalFormatSymbols.java: Likewise. * java/text/NumberFormat.java: Likewise. * java/awt/Window.java: Likewise. From-SVN: r84437
2004-07-10ResourceBundle.java (bundleCache): Renamed from resourceBundleCache.Bryce McKinlay2-168/+203
2004-07-09 Bryce McKinlay <mckinlay@redhat.com> * java/util/ResourceBundle.java (bundleCache): Renamed from resourceBundleCache. Update comments. (getObject): Don't catch MissingResourceException. (getBundle(String)): Remove 'final'. Use system classloader if getCallingClassLoader returned null. (getBundle(String, Locale)): Likewise. (BundleKey): New private class. HashMap key for bundle cache lookup. (lookupKey): New. Singleton instance of BundleKey. (nullEntry): New. Cache entry to represent failed lookups. (getBundle(String, Locale, ClassLoader)): Re-written to use new caching strategy, no-allocation lookup, and new tryBundle methods. (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle name using given classloader. (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify baseName for given Locale and attempt to load bundle. From-SVN: r84434
2004-07-10BasicMenuUI.java (mousePressed): Remove illegal protected method calls.Bryce McKinlay2-2/+5
2004-07-09 Bryce McKinlay <mckinlay@redhat.com> * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove illegal protected method calls. From-SVN: r84421
2004-07-10Fix or remove some bogus test cases.Bryce McKinlay4-12/+20
2004-07-09 Bryce McKinlay <mckinlay@redhat.com> Fix or remove some bogus test cases. * testsuite/libjava.compile/pr10459_2.java: Removed. * testsuite/libjava.compile/pr10459.java: Test using its own method, not Object.clone(). * testsuite/libjava.compile/inner_data.java: Test against its own protected field. From-SVN: r84420
2004-07-09unicode-muncher.pl: Updated to version 2.1 from GNU classpath.Michael Koch8-12534/+1747
2004-07-09 Michael Koch <konqueror@gmx.de> * scripts/unicode-muncher.pl: Updated to version 2.1 from GNU classpath. Added some clarifications on where to find the needed files from www.unicode.org. * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html, gnu/gcj/convert/UnicodeData-3.0.0.txt: Removed, these can directly be downloaded from www.unicode.org if needed. * gnu/java/lang/CharData.java: Regenerated. * include/java-chartables.h: Regenerated. * Makefile.am (ordinary_java_source_files): Removed gnu/java/lang/CharData.java. * Makefile.in: Regenerated. From-SVN: r84399
2004-07-09AccessControlContext.java, [...]: Fixed javadocs.Michael Koch3-72/+75
2004-07-09 Michael Koch <konqueror@gmx.de> * java/security/AccessControlContext.java, java/security/SecureClassLoader.java: Fixed javadocs. From-SVN: r84383
2004-07-09ObjectInputStream.java (readFields): Use long datatype when shifting byte ↵Michael Koch2-8/+13
values more then 24 bits left. 2004-07-09 Michael Koch <konqueror@gmx.de> * java/io/ObjectInputStream.java (readFields): Use long datatype when shifting byte values more then 24 bits left. From-SVN: r84382
2004-07-09DeflaterOutputStream.java, [...]: Reformatted.Michael Koch5-130/+207
2004-07-09 Michael Koch <konqueror@gmx.de> * java/util/zip/DeflaterOutputStream.java, java/util/zip/GZIPInputStream.java, java/util/zip/GZIPOutputStream.java, java/util/zip/InflaterInputStream.java: Reformatted. Added javadocs. Reordered all stuff. Renamed variables to be more clear. From-SVN: r84380
2004-07-09IIOException.java, [...]: New files.Michael Koch9-2/+562
2004-07-09 Michael Koch <konqueror@gmx.de> * javax/imageio/IIOException.java, javax/imageio/event/IIOReadProgressListener.java, javax/imageio/event/IIOReadUpdateListener.java, javax/imageio/event/IIOReadWarningListener.java, javax/imageio/event/IIOWriteProgressListener.java, javax/imageio/event/IIOWriteWarningListener.java: New files. * Makefile.am: Added new files. * Makefile.in: Regenerated. From-SVN: r84371
2004-07-092004-07-09 Guilhem Lavaux <guilhem@kaffe.org>Guilhem Lavaux2-22/+30
* java/text/RuleBasedCollator.java (mergeRules): Use ArrayList instead of Vector. (subParseString): likewise. (parseString): likewise. (buildCollationVector): likewise. (getCollationKey): likewise. From-SVN: r84369
2004-07-09DateFormat.java (parse): Improved javadoc.Dalibor Topic2-2/+10
2004-07-09 Dalibor Topic <robilad@kaffe.org> * java/text/DateFormat.java (parse): Improved javadoc. Improved exception message. From-SVN: r84368
2004-07-09SelectorImpl.java (select): Call static Thread interrupted() method to clear ↵Mark Wielaard2-1/+6
interupt flag of our Thread. 2004-07-09 Mark Wielaard <mark@klomp.org> * gnu/java/nio/SelectorImpl.java (select): Call static Thread interrupted() method to clear interupt flag of our Thread. From-SVN: r84367
2004-07-09Buffer.java, [...]: Fixed javadocs all over.Dalibor Topic25-278/+558
2004-07-09 Dalibor Topic <robilad@kaffe.org> * java/nio/Buffer.java, java/nio/ByteBuffer.java, java/nio/ByteBufferHelper.java, java/nio/ByteBufferImpl.java, java/nio/CharBuffer.java, java/nio/CharBufferImpl.java, java/nio/CharViewBufferImpl.java, java/nio/DirectByteBufferImpl.java, java/nio/DoubleBuffer.java, java/nio/DoubleBufferImpl.java, java/nio/DoubleViewBufferImpl.java, java/nio/FloatBuffer.java, java/nio/FloatBufferImpl.java, java/nio/FloatViewBufferImpl.java, java/nio/IntBuffer.java, java/nio/IntBufferImpl.java, java/nio/IntViewBufferImpl.java, java/nio/LongBuffer.java, java/nio/LongBufferImpl.java, java/nio/LongViewBufferImpl.java, java/nio/MappedByteBufferImpl.java, java/nio/ShortBuffer.java, java/nio/ShortBufferImpl.java, java/nio/ShortViewBufferImpl.java: Fixed javadocs all over. Improved input error checking. * java/nio/Buffer.java (checkForUnderflow, checkForOverflow, checkIndex, checkIfReadOnly, checkArraySize): New helper methods for error checking. * java/nio/ByteBufferHelper.java (checkRemainingForRead, checkRemainingForWrite, checkAvailableForRead, checkAvailableForWrite): Removed no longer needed methods. From-SVN: r84366
2004-07-09CharIndexedInputStream.java: Reordered imports to match classpath.Michael Koch2-1/+6
2004-07-09 Michael Koch <konqueror@gmx.de> * gnu/regexp/CharIndexedInputStream.java: Reordered imports to match classpath. From-SVN: r84365
2004-07-09EmbeddedWindow.java: Load native library for setWindowPeer method.Michael Koch2-1/+13
2004-07-09 Michael Koch <konqueror@gmx.de> * gnu/java/awt/EmbeddedWindow.java: Load native library for setWindowPeer method. From-SVN: r84364
2004-07-09pa32-linux.h (MD_FALLBACK_FRAME_STATE_FOR): Define.Randolph Chung5-0/+75
* gcc/config/pa/pa32-linux.h (MD_FALLBACK_FRAME_STATE_FOR): Define. * libjava/configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa. * libjava/configure: Regenerate. * libjava/configure.host: Set can_unwind_signal for hppa*-linux. * libjava/pa-signal.h: New file. From-SVN: r84344
2004-07-07* Makefile.am: Add rules to build libgij from just gij.cc.Per Bothner3-5/+17
From-SVN: r84251
2004-07-07jvm.h (namespace jcj): Declare verbose_class_flagPer Bothner4-0/+18
* include/jvm.h (namespace jcj): Declare verbose_class_flag * java/lang/natClass.cc (gcj::verbose_class_flag): New variable. (initializeClass): If verbose_class_flag, print message. * gij.cc (main): Handle -verbose:class flag. From-SVN: r84242
2004-07-07configure.host: Enable hash synchronization on Darwin.Andreas Tobler3-16/+23
2004-07-07 Andreas Tobler <a.tobler@schweiz.ch> * configure.host: Enable hash synchronization on Darwin. * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of ';', since this is a comment on Darwin. (compare_and_swap_release): Likewise. From-SVN: r84214
2004-07-06URLStreamHandler.java (parseURL): Canonicalize file portion of URL in ↵Mohan Embar2-4/+13
addition to spec for file: protocol. * java/net/URLStreamHandler.java (parseURL): Canonicalize file portion of URL in addition to spec for file: protocol. From-SVN: r84157
2004-07-06File.java (toURI): Merge from Classpath.Anthony Green2-0/+28
2004-07-05 Anthony Green <green@redhat.com> * java/io/File.java (toURI): Merge from Classpath. From-SVN: r84145
2004-07-06VMClassLoader.java (init): Check classpath entry before passing to URL ↵Bryce McKinlay2-19/+26
constructor. 2004-07-05 Bryce McKinlay <mckinlay@redhat.com> * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry before passing to URL constructor. Rethrow any MalformedURLException as a RuntimeException. Catch MalformedURLException specifically, not all exceptions. From-SVN: r84138
2004-07-05Locale.java (readObject): Intern strings read from object stream.Bryce McKinlay2-3/+8
2004-07-05 Bryce McKinlay <mckinlay@redhat.com> * java/util/Locale.java (readObject): Intern strings read from object stream. From-SVN: r84137
2004-07-04FirstThread.java, [...]: Removed.Michael Koch7-120/+160
2004-07-04 Michael Koch <konqueror@gmx.de> * gnu/gcj/runtime/FirstThread.java, gnu/gcj/runtime/natFirstThread.cc: Removed. * gnu/java/lang/MainThread.java, gnu/java/lang/natMainThread.cc: New files. * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread. * Makefile.am: Added new files and removed deleted ones. * Makefile.in: Regenerated. From-SVN: r84085