java/lang/System/finalization/FinExit.java
/* @test
@bug 4116016
@summary Ensure that finalizers are not invoked more than once when on-exit
finalization is enabled and a finalizer invokes System.exit after
System.exit has already been invoked
@build FinExit
@run shell FinExit.sh
*/
This test is for JDK-4116016, which intent to test on System.runFinalizersOnExit, which is:
@Deprecated(since="1.2",
forRemoval=true)
in JDK9.
As api to be removed in JDK 10, will not convert this FinExit.sh (FinExit.java) test.