< prev index next >
src/java.base/share/classes/java/io/DeleteOnExitHook.java
Print this page
*** 23,34 ****
* questions.
*/
package java.io;
import java.util.*;
! import java.io.File;
! import jdk.internal.misc.SharedSecrets;
/**
* This class holds a set of filenames to be deleted on VM exit through a shutdown hook.
* A set is used both to prevent double-insertion of the same file as well as offer
* quick removal.
--- 23,34 ----
* questions.
*/
package java.io;
import java.util.*;
!
! import jdk.internal.access.SharedSecrets;
/**
* This class holds a set of filenames to be deleted on VM exit through a shutdown hook.
* A set is used both to prevent double-insertion of the same file as well as offer
* quick removal.
< prev index next >