8344578: Clean up left over java.security and sun.security imports in Swing classes
Reviewed-by: psadhukhan
This commit is contained in:
parent
080f1cc8cd
commit
27fda0ea1f
@ -32,14 +32,11 @@ import java.util.*;
|
|||||||
import java.util.concurrent.atomic.AtomicInteger;
|
import java.util.concurrent.atomic.AtomicInteger;
|
||||||
import java.applet.*;
|
import java.applet.*;
|
||||||
|
|
||||||
import jdk.internal.access.JavaSecurityAccess;
|
|
||||||
import jdk.internal.access.SharedSecrets;
|
|
||||||
import sun.awt.AWTAccessor;
|
import sun.awt.AWTAccessor;
|
||||||
import sun.awt.AppContext;
|
import sun.awt.AppContext;
|
||||||
import sun.awt.DisplayChangedListener;
|
import sun.awt.DisplayChangedListener;
|
||||||
import sun.awt.SunToolkit;
|
import sun.awt.SunToolkit;
|
||||||
import sun.java2d.SunGraphicsEnvironment;
|
import sun.java2d.SunGraphicsEnvironment;
|
||||||
import sun.security.action.GetPropertyAction;
|
|
||||||
|
|
||||||
import com.sun.java.swing.SwingUtilities3;
|
import com.sun.java.swing.SwingUtilities3;
|
||||||
import java.awt.geom.AffineTransform;
|
import java.awt.geom.AffineTransform;
|
||||||
@ -185,9 +182,6 @@ public class RepaintManager
|
|||||||
*/
|
*/
|
||||||
private final ProcessingRunnable processingRunnable;
|
private final ProcessingRunnable processingRunnable;
|
||||||
|
|
||||||
private static final JavaSecurityAccess javaSecurityAccess =
|
|
||||||
SharedSecrets.getJavaSecurityAccess();
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Listener installed to detect display changes. When display changes,
|
* Listener installed to detect display changes. When display changes,
|
||||||
* schedules a callback to notify all RepaintManagers of the display
|
* schedules a callback to notify all RepaintManagers of the display
|
||||||
|
@ -28,7 +28,6 @@ import java.awt.Component;
|
|||||||
import java.awt.Container;
|
import java.awt.Container;
|
||||||
import java.awt.Rectangle;
|
import java.awt.Rectangle;
|
||||||
import java.awt.event.PaintEvent;
|
import java.awt.event.PaintEvent;
|
||||||
import java.security.AccessController;
|
|
||||||
import sun.awt.AppContext;
|
import sun.awt.AppContext;
|
||||||
import sun.awt.SunToolkit;
|
import sun.awt.SunToolkit;
|
||||||
import sun.awt.event.IgnorePaintEvent;
|
import sun.awt.event.IgnorePaintEvent;
|
||||||
|
@ -39,10 +39,6 @@ import java.awt.event.*;
|
|||||||
import java.beans.PropertyChangeEvent;
|
import java.beans.PropertyChangeEvent;
|
||||||
import java.beans.PropertyChangeListener;
|
import java.beans.PropertyChangeListener;
|
||||||
import java.util.Locale;
|
import java.util.Locale;
|
||||||
import java.security.AccessController;
|
|
||||||
|
|
||||||
import sun.security.action.GetPropertyAction;
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Provides the basic look and feel for a <code>JOptionPane</code>.
|
* Provides the basic look and feel for a <code>JOptionPane</code>.
|
||||||
|
@ -64,7 +64,6 @@ import javax.swing.text.DefaultEditorKit;
|
|||||||
import sun.awt.AppContext;
|
import sun.awt.AppContext;
|
||||||
import sun.awt.OSInfo;
|
import sun.awt.OSInfo;
|
||||||
import sun.awt.SunToolkit;
|
import sun.awt.SunToolkit;
|
||||||
import sun.security.action.GetPropertyAction;
|
|
||||||
import sun.swing.DefaultLayoutStyle;
|
import sun.swing.DefaultLayoutStyle;
|
||||||
import sun.swing.SwingAccessor;
|
import sun.swing.SwingAccessor;
|
||||||
import sun.swing.SwingUtilities2;
|
import sun.swing.SwingUtilities2;
|
||||||
|
Loading…
Reference in New Issue
Block a user