[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Suggested Runtime change and small Thread fix

From: Mark Wielaard
Subject: Re: Suggested Runtime change and small Thread fix
Date: Thu, 20 Nov 2003 19:32:42 +0100


On Thu, 2003-11-20 at 12:17, Jeroen Frijters wrote:
> I would like to move the code to run the shutdown hooks from exit() to a
> new method. This allows me to also run the shutdown hooks if the process
> termination is triggered by code outside of Java (in my .NET JVM). I
> can't see it hurting any other scenarios.
> Any objections or comments?

If this helps you then I see no objections.
But we really should split Runtime into these kind of VM-independent
methods and a VMRuntime that does the VM-dependent (memory,
gc/finalizers, exec and halt) stuff.

> Also fixed Thread.start() to throw IllegalThreadStateException instead
> of IllegalStateException.

Funny the documentation was already correct.

BTW. Don't forget to update copyright years of files you change.



Attachment: signature.asc
Description: This is a digitally signed message part

reply via email to

[Prev in Thread] Current Thread [Next in Thread]