# HG changeset patch
# User chegar
# Date 1449741881 0
# Node ID 1c305b7233b31d06c4c7c0f0079a1a80a7bbcdad
# Parent  0d45108a3e62862b443515301ef481d666eb5e8f
8145082: Remove sun.misc.Unsafe dependency from sun.nio.cs.StringUTF16
Reviewed-by: psandoz, sherman

diff -r 0d45108a3e62 -r 1c305b7233b3 jdk/src/java.base/share/classes/sun/nio/cs/StringUTF16.java
--- a/jdk/src/java.base/share/classes/sun/nio/cs/StringUTF16.java	Thu Dec 10 06:09:36 2015 +0000
+++ b/jdk/src/java.base/share/classes/sun/nio/cs/StringUTF16.java	Thu Dec 10 10:04:41 2015 +0000
@@ -25,8 +25,8 @@
 
 package sun.nio.cs;
 
-import static sun.misc.Unsafe.ARRAY_BYTE_BASE_OFFSET;
-import static sun.misc.Unsafe.ARRAY_BYTE_INDEX_SCALE;
+import static jdk.internal.misc.Unsafe.ARRAY_BYTE_BASE_OFFSET;
+import static jdk.internal.misc.Unsafe.ARRAY_BYTE_INDEX_SCALE;
 
 class StringUTF16 {
 
@@ -35,5 +35,5 @@
                               ARRAY_BYTE_BASE_OFFSET + ARRAY_BYTE_INDEX_SCALE * index * 2L);
     }
 
-    private static final sun.misc.Unsafe unsafe = sun.misc.Unsafe.getUnsafe();
+    private static final jdk.internal.misc.Unsafe unsafe = jdk.internal.misc.Unsafe.getUnsafe();
 }