> From a cursory examination it looks like some bad code is generated > somewhere. The 'dummy' variable has a different value after the first > call to addShutdownHook() :( FYI, I'm pretty sure its kjc's fault tim