Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8344578

Clean up left over java.security and sun.security imports in Swing classes

XMLWordPrintable


      The fix for
      8344063: Remove doPrivileged calls from swing classes in the java.desktop module
      missed removing several import statements

      Need to clean these up

      SwingPaintEventDispatcher.java
      import java.security.AccessController;

      RepaintManager.java
      import sun.security.action.GetPropertyAction;

      MetalLookAndFeel.java
      import sun.security.action.GetPropertyAction;


      I also found one file that doesn't use doPrivileged (today) so wasn't on the list but has imports
      presumably left over from some long ago change

      plaf/basic/BasicOptionPaneUI.java
      import java.security.AccessController;

      import sun.security.action.GetPropertyAction;

            prr Philip Race
            prr Philip Race
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: