8137056: Move SharedSecrets and interface friends out of sun.misc
authorchegar
Mon, 28 Sep 2015 13:40:25 +0100
changeset 32884 bd4c0ae0c21a
parent 32883 707ec0990206
child 32885 55a3cf13d376
8137056: Move SharedSecrets and interface friends out of sun.misc Reviewed-by: alanb, mchung, psandoz, rriggs
corba/src/java.corba/share/classes/com/sun/corba/se/spi/orb/ORB.java
--- 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) {