aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/lang/ThreadGroup.java
AgeCommit message (Collapse)AuthorFilesLines
2001-03-12Runtime.java (_exit): Declare new package-private native.Bryce McKinlay1-1/+13
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
2001-02-20ThreadGroup.java (activeCount): Only include threads which are alive.Tom Tromey1-7/+16
* java/lang/ThreadGroup.java (activeCount): Only include threads which are alive. (enumerate): Likewise. From-SVN: r39922
2000-10-25ThreadGroup.java (uncaughtException): Print thread name with stack dump.Bryce McKinlay1-0/+2
* java/lang/ThreadGroup.java (uncaughtException): Print thread name with stack dump. From-SVN: r37047
2000-09-13String.java (CASE_INSENSITIVE_ORDER): New static field.Bryce McKinlay1-1/+7
2000-09-13 Bryce McKinlay <bryce@albatross.co.nz> * java/lang/String.java (CASE_INSENSITIVE_ORDER): New static field. Initialize with anonymous class. (compareToIgnoreCase): New method. * java/lang/ThreadGroup.java (had_uncaught_exception): New field. (uncaughtException): Set had_uncaught_exception. * prims.cc (JvRunMain): Check value of had_uncaught_exception and exit with error status if set. (_Jv_RunMain): Ditto. From-SVN: r36385
2000-06-28ThreadGroup.java: Added synchronized flag to many methods.Bryce McKinlay1-36/+44
* ThreadGroup.java: Added synchronized flag to many methods. (destroyed_flag): Removed. (isDestroyed, removeGroup, removeThread): Test for parent == null. (activeCount): Added spec note. From-SVN: r34750
2000-06-21ThreadGroup.java (add(Thread)): Rename to addThread() to comply with ↵Bryce McKinlay1-15/+31
classpath VM spec. 2000-06-21 Bryce McKinlay <bryce@albatross.co.nz> * java/lang/ThreadGroup.java (add(Thread)): Rename to addThread() to comply with classpath VM spec. (add(Group)): Rename to addGroup(). * java/lang/Thread.java (Thread): Use addThread(). * java/lang/natThread.cc (finish_): Use removeThread(). From-SVN: r34627
2000-06-20ThreadGroup.java: Merged with classpath.Bryce McKinlay1-266/+426
2000-06-20 Bryce McKinlay <bryce@albatross.co.nz> * java/lang/ThreadGroup.java: Merged with classpath. * prims.cc (_Jv_RunMain): Don't use ain_group'. * gnu/gcj/runtime/FirstThread.java: Remove ThreadGroup constructor argument. * java/lang/Thread.java (Thread): Bootstrap initial thread from ThreadGroup.root if Thread.currentThread is null. Honour the ThreadGroup's max priority setting. From-SVN: r34615
2000-05-04Locale.java (Locale): Don't explicitly check for null.Tom Tromey1-3/+1
* java/util/Locale.java (Locale): Don't explicitly check for null. * java/util/Hashtable.java (containsKey): Don't explicitly check for null. (get): Likewise. * java/util/BitSet.java (and, or, xor): Don't explicitly check for null. * java/util/zip/ZipEntry.java (ZipEntry): Don't explicitly check for null. * java/text/StringCharacterIterator.java (StringCharacterIterator): Don't check for null. * java/text/ChoiceFormat.java (setChoices): Don't explicitly check for null pointer. * java/net/MulticastSocket.java (joinGroup): Don't explicitly check for null pointer. (leaveGroup): Likewise. * java/net/DatagramPacket.java (DatagramPacket): Removed erroneous comment. (setData): Likewise. * java/lang/ThreadGroup.java (ThreadGroup): Don't explicitly check for `p==null'. From-SVN: r33671
2000-03-07All files: Updated copyright information.Tom Tromey1-1/+1
* All files: Updated copyright information. * COPYING: New file. * COPYING.LIB: Removed. * LIBGCJ_LICENSE: We now use GPL + special exception. From-SVN: r32387
2000-01-19* All files: Updated copyright to reflect Cygnus purchase.Tom Tromey1-1/+1
From-SVN: r31504
1999-11-05natThread.cc (stop): Removed argument name.Tom Tromey1-1/+1
* java/lang/natThread.cc (stop): Removed argument name. * java/lang/ThreadGroup.java (ThreadGroup(int)): No longer `private'; now has default access. * Makefile.in: Rebuilt. * Makefile.am (java/lang/ThreadGroup.h): Removed. From-SVN: r30417
1999-08-18ThreadGroup.java: Fixed now-erroneous comment.Tom Tromey1-3/+1
* java/lang/ThreadGroup.java: Fixed now-erroneous comment. * java/lang/natThread.cc (finish_): Call ThreadGroup.remove. From-SVN: r28753
1999-04-07Initial revisionTom Tromey1-0/+406
From-SVN: r26263