mirror of
https://github.com/openRuyi-Project/gcc.git
synced 2026-06-16 00:16:04 +00:00
natThread.cc (dumpStack): Removed.
* java/lang/natThread.cc (dumpStack): Removed.
* java/lang/Thread.java (dumpStack): Implemented.
From-SVN: r31978
This commit is contained in:
@@ -49,7 +49,11 @@ public class Thread implements Runnable
|
||||
public native int countStackFrames ();
|
||||
public static native Thread currentThread ();
|
||||
public native void destroy ();
|
||||
public static native void dumpStack ();
|
||||
|
||||
public static void dumpStack ()
|
||||
{
|
||||
(new Exception ("Stack trace")).printStackTrace ();
|
||||
}
|
||||
|
||||
public static int enumerate (Thread[] threads)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user