Name: kbR10066 Date: 11/12/2002
Starting from JDK 1.3 the method
public void addShutdownHook(Thread hook)
is present in the java.lang.Runtime class. This method could be used by Jcov to automatically
save coverage data when JVM is being shutdown - regardlessly of whether this was caused
by a call to System.exit or by return from the main method. This feature would free user from
having to specify -save... instrumenter options in most cases when the profiled program is terminated
by a call to System.exit.
======================================================================
Starting from JDK 1.3 the method
public void addShutdownHook(Thread hook)
is present in the java.lang.Runtime class. This method could be used by Jcov to automatically
save coverage data when JVM is being shutdown - regardlessly of whether this was caused
by a call to System.exit or by return from the main method. This feature would free user from
having to specify -save... instrumenter options in most cases when the profiled program is terminated
by a call to System.exit.
======================================================================