New methods in jdk7
i30817 at gmail.com
Mon Oct 5 13:49:34 UTC 2009
Since i heard you were looking for suggestions, i think i might have a
useful one that i think is impossible nowadays without native code.
public void restart();
At first i thought it could be simulated just by calling the main
class again in a shutdown hook, but i don't think all the static state
is destroyed then.
ProcessBuilder shenanigans wouldn't work, because when the parent jvm
dies the child must too right?
More information about the core-libs-dev