[kaffe] Changing Thread.stop()

Arnaud Vandyck arnaud.vandyck at ulg.ac.be
Mon Aug 9 05:11:21 PDT 2004


Guilhem Lavaux <guilhem at kaffe.org> writes:

> After having discussed the thing on IRC, it has appeared that we
> should drop complete support for Thread.stop(). We propose instead to
> make it throw a SecurityException to tell the application it cannot
> stop a thread. As told in the API, this call is inherently dangerous
> and may leave the VM in an unknown state depending on the
> implementation.
>
> Any further comments ?

That's what I teach to my trainees ;-)

So I hope it's correct ;-)

Cheers,

-- 
Arnaud Vandyck




More information about the kaffe mailing list