# HG changeset patch # User chegar # Date 1458820607 0 # Node ID 17af8b44d311333e41ab2d5520883cd8f6fc0637 # Parent ceb837301c5385e57b418ac8e261be879e207651 8152642: Remove sun.misc.Unsafe dependency from java.lang.reflect.Proxy Reviewed-by: alanb, shade diff -r ceb837301c53 -r 17af8b44d311 jdk/src/java.base/share/classes/java/lang/reflect/Proxy.java --- 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;