--- old/src/java.base/share/classes/java/io/DeleteOnExitHook.java 2015-09-24 14:41:06.819171337 +0100 +++ new/src/java.base/share/classes/java/io/DeleteOnExitHook.java 2015-09-24 14:41:06.659174723 +0100 @@ -26,6 +26,7 @@ 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. @@ -41,7 +42,7 @@ // delete on exit list and cause the DeleteOnExitHook to be // registered during shutdown in progress. So set the // registerShutdownInProgress parameter to true. - sun.misc.SharedSecrets.getJavaLangAccess() + SharedSecrets.getJavaLangAccess() .registerShutdownHook(2 /* Shutdown hook invocation order */, true /* register even if shutdown in progress */, new Runnable() {