1. 18 Mar, 2001 3 commits
  2. 16 Mar, 2001 1 commit
  3. 14 Mar, 2001 2 commits
  4. 12 Mar, 2001 2 commits
    • ExceptionInInitializerError.java (printStackTrace): Only try to print the… · e52335a9
      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
    • Runtime.java (_exit): Declare new package-private native. · 456c0b60
      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
  5. 09 Mar, 2001 1 commit
  6. 06 Mar, 2001 1 commit
  7. 02 Mar, 2001 1 commit
    • Changes merged from Kawa's gnu.math. · c04278f7
      	* 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
  8. 27 Feb, 2001 1 commit
  9. 24 Feb, 2001 2 commits
  10. 22 Feb, 2001 3 commits
  11. 20 Feb, 2001 2 commits
    • PipedWriter.java (flush): Throw exception if stream closed. · 39f90b7c
      	* 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
    • ThreadGroup.java (activeCount): Only include threads which are alive. · 0cbd3980
      	* java/lang/ThreadGroup.java (activeCount): Only include threads
      	which are alive.
      	(enumerate): Likewise.
      
      From-SVN: r39922
      Tom Tromey committed
  12. 19 Feb, 2001 2 commits
  13. 17 Feb, 2001 4 commits
  14. 16 Feb, 2001 3 commits
  15. 15 Feb, 2001 6 commits
  16. 14 Feb, 2001 2 commits
    • natClass.cc (getSignature): Don't try to dereference param_types if it is null. · 97a4d32e
      	* 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
    • re PR libgcj/1758 (java.util package lacks TreeMap) · a142a996
              * 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
  17. 13 Feb, 2001 4 commits