8137056: Move SharedSecrets and interface friends out of sun.misc
Reviewed-by: alanb, mchung, psandoz, rriggs
--- a/corba/src/java.corba/share/classes/com/sun/corba/se/spi/orb/ORB.java Mon Sep 28 09:52:19 2015 +0200
+++ b/corba/src/java.corba/share/classes/com/sun/corba/se/spi/orb/ORB.java Mon Sep 28 13:40:25 2015 +0100
@@ -89,6 +89,9 @@
import com.sun.corba.se.impl.presentation.rmi.PresentationManagerImpl ;
+import jdk.internal.misc.JavaAWTAccess;
+import jdk.internal.misc.SharedSecrets;
+
public abstract class ORB extends com.sun.corba.se.org.omg.CORBA.ORB
implements Broker, TypeCodeFactory
{
@@ -202,7 +205,7 @@
public static PresentationManager getPresentationManager()
{
SecurityManager sm = System.getSecurityManager();
- sun.misc.JavaAWTAccess javaAwtAccess = sun.misc.SharedSecrets.getJavaAWTAccess();
+ JavaAWTAccess javaAwtAccess = SharedSecrets.getJavaAWTAccess();
if (sm != null && javaAwtAccess != null) {
final Object appletContext = javaAwtAccess.getAppletContext();
if (appletContext != null) {