8152642: Remove sun.misc.Unsafe dependency from java.lang.reflect.Proxy
Reviewed-by: alanb, shade
--- a/jdk/src/java.base/share/classes/java/lang/reflect/Proxy.java Thu Mar 24 12:52:03 2016 +0300
+++ b/jdk/src/java.base/share/classes/java/lang/reflect/Proxy.java Thu Mar 24 11:56:47 2016 +0000
@@ -48,8 +48,8 @@
import jdk.internal.loader.BootLoader;
import jdk.internal.module.Modules;
+import jdk.internal.misc.Unsafe;
import jdk.internal.misc.VM;
-import sun.misc.Unsafe;
import sun.reflect.CallerSensitive;
import sun.reflect.Reflection;
import sun.reflect.misc.ReflectUtil;