- 18 Mar, 2001 3 commits
-
-
From-SVN: r40605
Mark Wielaard committed -
* java/lang/natClass.cc (_Jv_CheckCast): add class names to exception * gnu/gcj/runtime/FirstThread.java (main): replace / with . in jarMainClassName From-SVN: r40604
Mark Wielaard committed -
* java/lang/natString.cc (rehash): Don't bother with memset; _Jv_AllocBytes returns zero'd memory. Use _Jv_AllocBytesChecked. Use UNMASK_PTR. (UNMASK_PTR): New macro. (intern): Unmask pointer before returning it. Register finalizer for the string. (unintern): Handle case where (MASK_PTR): New macro. (PTR_MAKSED): Likewise. (_Jv_NewStringUtf8Const): Use UNMASK_PTR. From-SVN: r40593
Tom Tromey committed
-
- 16 Mar, 2001 1 commit
-
-
* lib/libjava.exp (libjava_arguments): Rewrote computation of LD_LIBRARY_PATH. Add gcc build directory if it contains libgcc_s.so. From-SVN: r40564
Tom Tromey committed
-
- 14 Mar, 2001 2 commits
-
-
* libjava.compile/assignment.xfail: Removed. * libjava.compile/assignment_2.xfail: Removed. From-SVN: r40463
Tom Tromey committed -
natThrowable.cc (printRawStackTrace): Copy the stackTrace buffer to a correctly aligned pointer array. 2001-03-01 Andrew Haley <aph@redhat.com> * java/lang/natThrowable.cc (printRawStackTrace): Copy the stackTrace buffer to a correctly aligned pointer array. From-SVN: r40456
Andrew Haley committed
-
- 12 Mar, 2001 2 commits
-
-
ExceptionInInitializerError.java (printStackTrace): Only try to print the subordinate stack trace if "exception" is set. * java/lang/ExceptionInInitializerError.java (printStackTrace): Only try to print the subordinate stack trace if "exception" is set. Print our class name first. From-SVN: r40404
Bryce McKinlay committed -
2001-03-12 Bryce McKinlay <bryce@albatross.co.nz> * java/lang/Runtime.java (_exit): Declare new package-private native. * java/lang/natRuntime.cc (_exit): Implemented. Same as exit() but without a security manager check. (exit): Call _exit after security check. * prims.cc (JvRunMain): Call Runtime._exit to shutdown the runtime "naturally". * java/lang/System.java (setSecurityManager): If a security manager is already in place, call checkPermission. * java/lang/ThreadGroup.java (uncaughtException): If printStackTrace() throws an exception, try to deal with it gracefully. * java/lang/ExceptionInInitializerError.java (printStackTrace): Only try to print the subordinate stack trace if "exception" is set. Print our class name first. From-SVN: r40401
Bryce McKinlay committed
-
- 09 Mar, 2001 1 commit
-
-
* java/io/ObjectStreamClass.java (setUID): Don't write interface info for array classes. Fixes PR libgcj/1971. From-SVN: r40337
Tom Tromey committed
-
- 06 Mar, 2001 1 commit
-
-
2001-03-06 Bryce McKinlay <bryce@albatross.co.nz> * java/util/TreeSet.java (writeObject): Use a for-loop instead of Iterator.hasNext(). 2001-03-05 Jochen Hoenicke <jochen@gnu.org> * java/util/TreeMap.java (writeObject): Use defaultWriteObject() instead of the new JDK1.2 API. This is simpler and makes back-porting the classes to JDK1.1 trivial. (readObject): likewise. From-SVN: r40252
Bryce McKinlay committed
-
- 02 Mar, 2001 1 commit
-
-
* java/math/BigInteger.java * gnu/gcj/math/MPN.java (rshift0): New method handles zero shift count. (rshift(int[],int[],int,int): Removed - not needed. (gcd): Use rshift0 rather than rshift. * java/math/BigInteger.java (setShiftRight): Likewise. (divide): Simplify by using rshift0. (divide): Zero-extend results if high-order bit set. From-SVN: r40177
Per Bothner committed
-
- 27 Feb, 2001 1 commit
-
-
* libgcj.spec.in: Insert %(libgcc) before %(liborig) to fix static linking. From-SVN: r40089
Bryce McKinlay committed
-
- 24 Feb, 2001 2 commits
-
-
From-SVN: r40030
Per Bothner committed -
* java/lang/Throwable.java (CPlusPlusDemangler): Pass -s java to c++filt to select java-style output. From-SVN: r40027
Per Bothner committed
-
- 22 Feb, 2001 3 commits
-
-
From-SVN: r39973
Bryce McKinlay committed -
* configure.in: Add support for --enable-java-awt configure option. Use --enable-java-awt=xlib to build the xlib peers (libgcjx). * Makefile.am: Make libgcjx conditional on XLIB_AWT, instead of NO_X. * Makefile.in: Rebuilt. * configure: Rebuilt. From-SVN: r39970
Bryce McKinlay committed -
Fix for PR java/2040: * java/util/HashMap.java (HashMap): Don't throw exception for loadFactor > 1. Add exception messages. * java/util/Hashtable.java (Hashtable): Likewise. From-SVN: r39969
Bryce McKinlay committed
-
- 20 Feb, 2001 2 commits
-
-
* java/io/PipedWriter.java (flush): Throw exception if stream closed. * java/io/OutputStreamWriter.java (write): Throw exception if stream closed. (writeChars): Don't throw exception if stream closed. * java/io/CharArrayWriter.java (closed): New field. (close): Set it. (flush): Throw exception if stream closed. (reset): Synchronize on correct lock. Allow stream to be reopened. (toCharArray, toString, writeTo): Synchronize. (write): Throwe exception if stream closed. * java/io/BufferedWriter.java (close): Clear `buffer'. (flush): Throw IOException if stream is closed. (write): Likewise. From-SVN: r39927
Tom Tromey committed -
* java/lang/ThreadGroup.java (activeCount): Only include threads which are alive. (enumerate): Likewise. From-SVN: r39922
Tom Tromey committed
-
- 19 Feb, 2001 2 commits
-
-
CharArrayReader.java (CharArrayReader): Throw IllegalArgumentException if constructor arguments are illegal. * java/io/CharArrayReader.java (CharArrayReader): Throw IllegalArgumentException if constructor arguments are illegal. (ready): Return false if no more characters can be read. * java/io/ByteArrayInputStream.java (ByteArrayInputStream): Likewise. From-SVN: r39876
Bryce McKinlay committed -
* java/lang/Integer.java (getInteger): Return default argument if property is not set. Don't call decode with null argument. * java/lang/Long.java (getLong): Likewise. From-SVN: r39870
Bryce McKinlay committed
-
- 17 Feb, 2001 4 commits
-
-
From-SVN: r39801
Mark Wielaard committed -
Remerge with Classpath (changes by Bryce McKinlay <bryce@albatross.co.nz>) * java/io/DataInputStream.java (readBoolean): Use convertToBoolean(). (readByte): Use convertToByte(). (readChar): Use convertToChar(). (readInt): Use convertToInt(). (readLong): Use convertToLong(). (readShort): Use convertToShort(). (readUnsignedByte): Use convertToUnsignedByte(). (readUnsignedShort): Use convertToUnsignedShort(). (readUTF): Use convertToUTF(). (convertToBoolean): Resurrected. (convertToByte): Ditto. (convertToChar): Ditto. (convertToInt): Ditto. (convertToLong): Ditto. (convertToShort): Ditto. (convertToUnsignedByte): Ditto. (convertToUnsignedShort): Ditto. (convertToUTF): Ditto. From-SVN: r39800
Mark Wielaard committed -
From-SVN: r39799
Mark Wielaard committed -
* java/io/DataInputStream.java: update copyright notice * java/io/PrintWriter.java: idem * java/io/Reader.java: idem * java/io/StreamTokenizer.java: idem * java/io/StringReader.java: idem * java/lang/reflect/ReflectPermission.java: idem From-SVN: r39798
Mark Wielaard committed
-
- 16 Feb, 2001 3 commits
-
-
* java/util/HashSet.java (clone): Made subclass safe, use super.clone(), not new. From-SVN: r39746
Bryce McKinlay committed -
* java/util/TreeMap.java (nil): Made non-final. (clone): Create new nil node for copy. From-SVN: r39736
Bryce McKinlay committed -
* java/util/TreeSet.java (clone): Made subclass safe, use super.clone(), not new. * java/util/TreeMap.java (clone): Likewise. From-SVN: r39734
Bryce McKinlay committed
-
- 15 Feb, 2001 6 commits
-
-
2001-02-14 Andrew Haley <aph@redhat.com> * include/i386-signal.h (INIT_SEGV): Use a direct system call to set the handler. From-SVN: r39724
Andrew Haley committed -
2001-02-15 Anthony Green <green@redhat.com> * 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. From-SVN: r39719
Anthony Green committed -
* java/util/AbstractSequentialList.java: Synchronize with Classpath. * 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. From-SVN: r39708
Bryce McKinlay committed -
From-SVN: r39707
Bryce McKinlay committed -
* gnu/awt/j2d/DirectRasterGraphics.java (clone): Hoist to public. * gnu/awt/j2d/IntegerGraphicsState.java (setClip): Call Rectangle.clone(), not Object.clone(). From-SVN: r39706
Bryce McKinlay committed -
* java/util/TreeSet.java (clone): Call TreeMap.clone(), not Object.clone(). * java/util/Collections.java (ReverseComparator): New static class. (reverseOrder): Return static instance of ReverseComparator. From-SVN: r39705
Bryce McKinlay committed
-
- 14 Feb, 2001 2 commits
-
-
* java/lang/natClass.cc (getSignature): Don't try to dereference 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. From-SVN: r39658
Bryce McKinlay committed -
* java/util/TreeMap.java: New file. * 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. From-SVN: r39657
Bryce McKinlay committed
-
- 13 Feb, 2001 4 commits
-
-
* java/io/PipedReader.java (ready): Throw IOException if pipe 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. From-SVN: r39641
Tom Tromey committed -
From-SVN: r39640
Tom Tromey committed -
Fix for PR libgcj/1351: * posix.cc (_Jv_select): Throw InterruptedIOException if thread is interrupted. Include Thread.h and InterruptedIOException.h. From-SVN: r39639
Tom Tromey committed -
* java/io/BlockDataException.java: Removed. * java/io/ObjectInputStream.java (readObject): Throw StreamCorruptedException, not BlockDataException. * Makefile.am: Remove BlockDataException. * Makefile.in: Rebuild. From-SVN: r39616
Bryce McKinlay committed
-