8140606: Update library code to use internal Unsafe
authorchegar
Wed, 11 Nov 2015 11:32:15 +0000
changeset 33687 b79e3ac0a1b8
parent 33686 1391474a6405
child 33688 649d5d76f602
8140606: Update library code to use internal Unsafe Reviewed-by: alanb, mchung, psandoz, weijun
nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/Context.java
--- a/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/Context.java	Mon Nov 09 15:37:07 2015 +0100
+++ b/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/Context.java	Wed Nov 11 11:32:15 2015 +0000
@@ -96,7 +96,7 @@
 import jdk.nashorn.internal.runtime.logging.Logger;
 import jdk.nashorn.internal.runtime.options.LoggingOption.LoggerInfo;
 import jdk.nashorn.internal.runtime.options.Options;
-import sun.misc.Unsafe;
+import jdk.internal.misc.Unsafe;
 
 /**
  * This class manages the global state of execution. Context is immutable.