Review request for 6829503
martinrb at google.com
Sat Apr 18 21:20:59 UTC 2009
On Fri, Apr 17, 2009 at 22:53, Mandy Chung <Mandy.Chung at sun.com> wrote:
> Hi Martin,
> Thanks for the quick review.
> Users should only add their shutdown hooks via the System.addShutdownHook()
> method. java.lang.Shutdown is an implementation class for registering
> internal hooks besides application shutdown hooks - including the shutdown
> hook for Console and DeleteOnExitHook. Applications should not use the
> Shutdown#add method.
I think you misunderstood me. I was musing about how, in the future,
we could allow applications to also manipulate hooks during shutdown,
using some kind of similar mechanism as done with "internal" hooks.
Almost off-topic on my part.
More information about the core-libs-dev