quick-threads.h (_Jv_ThreadCancel): Removed.
* include/quick-threads.h (_Jv_ThreadCancel): Removed. (_Jv_ThreadDestroy): Likewise. * include/no-threads.h (_Jv_ThreadCancel): Removed. (_Jv_ThreadDestroy): Likewise. * include/posix-threads.h (struct _Jv_Thread_t): Removed `exception' field. (_Jv_ThreadCancel): Removed decl. (_Jv_ThreadDestroy): Removed. * posix-threads.cc (_Jv_ThreadCancel): Removed. (throw_cleanup): Removed. (really_start): Don't push or pop cleanup. (_Jv_ThreadInitData): Don't initialize `exception' field. * java/lang/Thread.java (stop): Officially unimplemented. * java/lang/natThread.cc (stop): Officially unimplemented. From-SVN: r30392
This commit is contained in:
parent
063174eeda
commit
16f39e241a
7 changed files with 21 additions and 68 deletions
|
@ -181,7 +181,9 @@ public class Thread implements Runnable
|
|||
|
||||
public final void stop ()
|
||||
{
|
||||
stop (new ThreadDeath ());
|
||||
// Argument doesn't matter, because this is no longer
|
||||
// supported.
|
||||
stop (null);
|
||||
}
|
||||
|
||||
public final synchronized native void stop (Throwable e);
|
||||
|
|
|
@ -304,12 +304,7 @@ java::lang::Thread::start (void)
|
|||
void
|
||||
java::lang::Thread::stop (java::lang::Throwable *e)
|
||||
{
|
||||
JvSynchronize sync (this);
|
||||
checkAccess ();
|
||||
if (! e)
|
||||
_Jv_Throw (new NullPointerException);
|
||||
natThread *nt = (natThread *) data;
|
||||
_Jv_ThreadCancel (nt->thread, e);
|
||||
JvFail ("java::lang::Thread::stop unimplemented");
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue