summaryrefslogtreecommitdiffstats
path: root/libjava
Commit message (Collapse)AuthorAgeFilesLines
* * java/util/TreeSet.java (clone): Made subclass safe, usebryce2001-02-163-6/+28
| | | | | | | | super.clone(), not new. * java/util/TreeMap.java (clone): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39734 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-02-14 Andrew Haley <aph@redhat.com>aph2001-02-152-1/+6
| | | | | | | | * include/i386-signal.h (INIT_SEGV): Use a direct system call to set the handler. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39724 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-02-15 Anthony Green <green@redhat.com>green2001-02-154-23/+17
| | | | | | | | | | | * defineclass.cc: Don't include alloca.h. (prepare_pool_entry): Convert alloca to __builtin_alloca. * interpret.cc (run_normal): Ditto. (continue1): Ditto. * java/lang/natDouble.cc (parseDouble): Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39719 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/util/AbstractSequentialList.java: Synchronize with Classpath.bryce2001-02-159-126/+585
| | | | | | | | | | | | | * java/util/Collection.java: Likewise. * java/util/Comparator.java: Likewise. * java/util/Dictionary.java: Likewise. * java/util/Iterator.java: Likewise. * java/util/ListIterator.java: Likewise. * java/util/Map.java: Likewise. * java/util/Set.java: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39708 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/util/HashSet.java (clone): Remove try/catch.bryce2001-02-152-10/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39707 138bc75d-0d04-0410-961f-82ee72b054a4
* * gnu/awt/j2d/DirectRasterGraphics.java (clone): Hoist to public.bryce2001-02-153-2/+7
| | | | | | | | * gnu/awt/j2d/IntegerGraphicsState.java (setClip): Call Rectangle.clone(), not Object.clone(). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39706 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/util/TreeSet.java (clone): Call TreeMap.clone(), notbryce2001-02-153-19/+21
| | | | | | | | | Object.clone(). * java/util/Collections.java (ReverseComparator): New static class. (reverseOrder): Return static instance of ReverseComparator. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39705 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/natClass.cc (getSignature): Don't try to dereferencebryce2001-02-143-16/+27
| | | | | | | | | | | | | | | param_types if it is null. Instead, take this to mean "no parameters". * java/lang/TreeMap.java (TreeIterator.next): Throw NoSuchElementException in preference to ConcurrentModificationException. (TreeIterator.remove): Throw IllegalStateException in preference to ConcurrentModificationException. (SubMap.firstKey): Do a better check for empty SubMap, and if it is, throw a NoSuchElementException. (SubMap.lastKey): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39658 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/util/TreeMap.java: New file.bryce2001-02-148-24/+1781
| | | | | | | | | | | | | | | | * java/util/TreeSet.java: New file. * Makefile.am: Add TreeMap and TreeSet. Enable WeakHashMap. * Makefile.in: Rebuilt. * java/util/HashSet.java (clone): Use constructor instead of calling clone on itself. * java/util/SortedSet.java: Sync with classpath. * java/util/HashMap.java (hash): Use if statement instead of ternary, for clarity. Resolves PR libgcj/1758. Resolves PR java/1684. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39657 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/io/PipedReader.java (ready): Throw IOException if pipetromey2001-02-135-19/+40
| | | | | | | | | | | | | closed. * java/io/FilterReader.java (close): Don't clear `in'. * java/io/CharArrayReader.java (mark): Throw IOException if stream closed. (read, ready, reset, skip): Added exception message. * java/io/BufferedReader.java (mark, reset, ready, read, skip): Perform checkStatus check inside synchronized block. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39641 138bc75d-0d04-0410-961f-82ee72b054a4
* * gnu/awt/j2d/AbstractGraphicsState.java (clone): Made public.tromey2001-02-132-1/+10
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39640 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix for PR libgcj/1351:tromey2001-02-132-1/+16
| | | | | | | | | * posix.cc (_Jv_select): Throw InterruptedIOException if thread is interrupted. Include Thread.h and InterruptedIOException.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39639 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/io/BlockDataException.java: Removed.bryce2001-02-135-83/+33
| | | | | | | | | | * java/io/ObjectInputStream.java (readObject): Throw StreamCorruptedException, not BlockDataException. * Makefile.am: Remove BlockDataException. * Makefile.in: Rebuild. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39616 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-02-12 Jeff Sturm <jeff.sturm@commerceone.com>tromey2001-02-122-2/+12
| | | | | | | | | | Tom Tromey <tromey@redhat.com> * interpret.cc (continue1): [insn_invokevirtual] Do an explicit null pointer check. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39607 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/util/Timer.java: New version from Classpath.tromey2001-02-092-429/+496
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39573 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/Double.java (doubleToRawLongBits): Now native.bryce2001-02-095-17/+27
| | | | | | | | | * java/lang/Float.java (floatToRawIntBits): Likewise. * java/lang/natDouble.cc (doubleToRawLongBits): New method. * java/lang/natFloat.cc (floatToRawIntBits): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39572 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-02-09 Alexandre Petit-Bianco <apbianco@redhat.com>apbianco2001-02-092-0/+23
| | | | | | | | | | | | * java/io/File.java (java.net): Imported. (getAbsoluteFile): Added. (getCanonicalPath): Likewise. (toURL): Likewise. (http://gcc.gnu.org/ml/java-patches/2001-q1/msg00208.html) git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39562 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/io/OutputStreamWriter.java: (flush, writeChars): Throwbryce2001-02-092-1/+10
| | | | | | | IOException if stream closed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39559 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/Byte.java: Remove redundant instanceof and null checks.bryce2001-02-097-51/+50
| | | | | | | | | | | | | * java/lang/Integer.java: Likewise. * java/lang/Long.java: Likewise. * java/lang/Short.java: Likewise. * java/lang/Double.java: Likewise. (doubleToRawLongBits): New method. * java/lang/Float.java: As above. (floatToRawIntBits): New method. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39556 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/Float.java (parseFloat): New method.tromey2001-02-092-1/+13
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39555 138bc75d-0d04-0410-961f-82ee72b054a4
* From paul@dawa.demon.co.uk. Fix for PR libgcj/1913:tromey2001-02-092-1/+16
| | | | | | | | * java/io/InputStreamReader.java (ready, read): Throw IOException if stream has been closed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39553 138bc75d-0d04-0410-961f-82ee72b054a4
* * libjava.mauve/mauve.exp: Added support for XFAILs.warrenl2001-02-083-5/+45
| | | | | | | * libjava.mauve/xfails: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39536 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/java/:jsm282001-02-085-5/+11
| | | | | | | | | | | | | | | | * gcj.texi: Change sources.redhat.com reference to gcc.gnu.org. libffi/: * include/ffi.h.in: Change sourceware.cygnus.com references to gcc.gnu.org. libjava/: * README, gij.cc, java/lang/natClass.cc, java/lang/natSystem.cc: Change sources.redhat.com and sourceware.cygnus.com references to gcc.gnu.org. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39531 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix for PR libgcj/1906:tromey2001-02-072-25/+26
| | | | | | | | | | | * java/text/MessageFormat.java (setLocale): Use named class literals. (forName): Removed. (format(Object,StringBuffer,FieldPosition)): Special case if argument is an Object[]. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39529 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/util/Arrays.java: Removed "cmp" methods.bryce2001-02-072-89/+65
| | | | | | | | | | | | | (qsort): Don't use "cmp". (med3): Likewise. 2001-02-07 Mark Benvenuto <mcb54@columbia.edu> * java/util/Arrays.java (qsort): Handle N value of 7 with insertion sort. Fix for PR java/1895. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39514 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-02-03 Jeff Sturm <jeff.sturm@commerceone.com>bryce2001-02-052-0/+5
| | | | | | | * configure.host: Use sjlj-exceptions for Alpha. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39450 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/java:bryce2001-02-054-311/+290
| | | | | | | | | | | | | | * Make-lang.in (jvspec.o): Add DRIVER_DEFINES to the list of macros used when compiling jvspec.c. * jvspec.c (lang_specific_driver): Link with the shared libgcc by default. libjava: * libgcj.spec.in: Don't force static libgcc into the executable. * configure.in (FORCELIBGCCSPEC): Removed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39449 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in: Rebuilt.tromey2001-01-313-1/+13
| | | | | | | * Makefile.am (LTCXXCOMPILE): New macro. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39379 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-01-26 Andrew Haley <aph@redhat.com>aph2001-01-302-2/+20
| | | | | | | (INIT_FPE): Use a direct system call to set the handler. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39354 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (target_makefile_frag) [alpha*-*]: Use mt-alphaieee.rth2001-01-282-0/+5
| | | | | | | | | | | | * mt-alphaieee: New file. * config/alpha/t-ieee: Remove multilibbing. (TARGET_LIBGCC2_CFLAGS): Add -mieee. * configure.host (alpha*-*) [libgcj_flags]: Add -mieee. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39309 138bc75d-0d04-0410-961f-82ee72b054a4
* * jni.cc (_Jv_JNIFunctions): Added comment for each entry intromey2001-01-272-230/+236
| | | | | | | native interface structure. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39298 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/io/ObjectInputStream.java (read): AND byte with 0xff to makebryce2001-01-273-15/+53
| | | | | | | | | | | | result unsigned. (read (byte[], int, int)): Only call readNextBlock() if the block buffer would actually be overrun. Increment blockDataPosition. (callReadMethod): Propagate exceptions from invocation target. * java/io/ObjectOutputStream.java (callWriteMethod): Propagate exceptions from invocation target. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39293 138bc75d-0d04-0410-961f-82ee72b054a4
* * jni.cc (_Jv_JNI_GetAnyMethodID): Rewrite signature from externaltromey2001-01-262-10/+21
| | | | | | | | | to internal representation. (_Jv_JNI_GetAnyFieldID): Likewise. Also, only use _Jv_FindClassFromSignature. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39289 138bc75d-0d04-0410-961f-82ee72b054a4
* * libjava.jni/martin.c (Java_martin_myNative): Flush stdout.tromey2001-01-262-0/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39287 138bc75d-0d04-0410-961f-82ee72b054a4
* * libjava.jni/martin.out: New file.tromey2001-01-264-0/+72
| | | | | | | | * libjava.jni/martin.c: New file. * libjava.jni/martin.java: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39286 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/natSystem.cc (getSystemTimeZone): Only use tm_gmtoffwarrenl2001-01-262-2/+20
| | | | | | | and timezone if they are available on the system. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39283 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/sf_fabs.c: Use uint32_t, not __uint32_t.tromey2001-01-252-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39269 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in: Rebuilt.tromey2001-01-244-14/+68
| | | | | | | | * Makefile.am (c_source_files): Added sf_fabs.c. * java/lang/sf_fabs.c: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39238 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/text/SimpleDateFormat.java (format): Compute hour for caseswarrenl2001-01-202-7/+12
| | | | | | | | | | HOUR_OF_DAY1_FIELD (1-24), HOUR1_FIELD (1-12), and HOUR0_FIELD (0-11) correctly. Adjust properly from 0-23 clock hour. Fixes failure in Mauve test java.text.SimpleDateFormat.Test (format). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39147 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/bean/Beans.java (instantiate): enable Applet code from Classpathmark2001-01-182-11/+13
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39105 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/Class.h (isInterface): Move implementation frombryce2001-01-174-13/+22
| | | | | | | | | | | natClass.cc. Declare inline. (Class): Add default constructor. * java/lang/Object.h: Update comments. * java/lang/natClass.cc (initializeClass): Use _Jv_InitClass to initialize superclass, saving a call if super is already initialized. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39091 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-01-16 Alexandre Petit-Bianco <apbianco@cygnus.com>apbianco2001-01-174-72/+34
| | | | | | | | | | | | | | | | * prims.cc (init_prim_class): Deleted. (DECLARE_PRIM_TYPE): Rewritten. * java/lang/Class.h (stdio.h): Include removed. (stddef.h): Included. (java/lang/reflect/Modifier.h): Likewise. (Class): Contructor now takes arguments, initializes fields. (initializePrim): Prototype deleted. * java/lang/natClass.cc (initializePrim): Deleted. (http://sources.redhat.com/ml/java-patches/2001-q1/msg00081.html) git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39088 138bc75d-0d04-0410-961f-82ee72b054a4
* * lib/libjava.exp (bytecompile_file): Don't unset CLASSPATH.rth2001-01-172-3/+7
| | | | | | | (libjava_arguments): Use .jar extension for libgcj. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39085 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/math/BigInteger.java: Update Copyright year.warrenl2001-01-172-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39082 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-01-16 Hans Boehm <hans_boehm@hp.com>bryce2001-01-172-4/+11
| | | | | | | | * java/math/BigInteger.java (setShiftRight): Only do negative shift if count != 0. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39080 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-01-07 Alexandre Petit-Bianco <apbianco@cygnus.com>apbianco2001-01-156-73/+121
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All files with updated copyright. * prims.cc (class _Jv_PrimClass): Removed. (init_prim_class): New function. (DECLARE_PRIM_TYPE): Rewritten. `java::lang::Class' replaces `_Jv_PrimClass' in primitive type declarations. Assign to the value returned by `init_prim_class.' * gcj/array.h: `java::lang::Class' replaces `_Jv_PrimClass' in primitive type declarations. (JvPrimClass): Cast to `jclass' removed. * java/lang/Class.h (Class): New constructor. (Class): New copy constructor. (initializePrim): New prototype. (_Jv_PrimClass): Field removed. * java/lang/Object.h (struct _JvObjectPrefix): New virtuals nacd_1 and nacd_2 (for compatibility with the new C++ ABI.) (class java::lang::Object): `finalize' moved up front. * java/lang/natClass.cc (isAssignableFrom): Turned outline. (isInstance): Likewise. (isInterface): Likewise, fixed indentation. (initializePrim): New function. (New C++ ABI compatibility patch: http://sources.redhat.com/ml/java-patches/2001-q1/msg00065.html) git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39032 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/net/URLDecoder.java: Thanks Edgar Villanueva (edgarvil@home.com)mark2001-01-152-21/+60
| | | | | | | (decode): Merge comments with Classpath, don't throw Exception git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39030 138bc75d-0d04-0410-961f-82ee72b054a4
* Removed bogus ChangeLog entrytromey2001-01-131-5/+0
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38969 138bc75d-0d04-0410-961f-82ee72b054a4
* * gnu/awt/gtk/natGtkComponentPeer.cc (getLocationOnScreen):tromey2001-01-127-11/+309
| | | | | | | | | | | | | | Wrote. (setCursor): Wrote. Include Cursor.h. * gnu/awt/gtk/natGtkLabelPeer.cc: New file. * gnu/awt/gtk/natGtkButtonPeer.cc: New file. * gnu/awt/gtk/gtkcommon.h (class _Jv_GdkThreadLock): New class. * gnu/awt/gtk/GtkLabelPeer.java: New file. * gnu/awt/gtk/GtkButtonPeer.java: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38967 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/natSystem.cc: Include locale.h if it exists.tromey2001-01-126-300/+341
| | | | | | | | * configure: Rebuilt. * configure.in: Check for locale.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38957 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud