Since JEP 486 : Permanently Disable the Security Manager
[https://bugs.openjdk.org/browse/JDK-8338625] is now integrated, calls to java.security.AccessController.doPrivileged are obsolete and can be removed.
This bug enumerates windows-platform files in the java.desktop module that can have them removed.
The fix for this should focus on removing these, and exclude any refactoring, reformatting, or other clean up that is not required for this fix.
Any SM related imports that are no longer needed they should be removed.
Also avoid any other SecurityManager related clean up even in the same file.
Those will be addressed in follow-on bugs.
./windows/classes/sun/print/PrintServiceLookupProvider.java
./windows/classes/sun/java2d/windows/WindowsFlags.java
./windows/classes/sun/java2d/d3d/D3DScreenUpdateManager.java
./windows/classes/sun/awt/shell/Win32ShellFolderManager2.java
./windows/classes/sun/awt/Win32FontManager.java
./windows/classes/sun/awt/Win32GraphicsDevice.java
./windows/classes/sun/awt/windows/WFileDialogPeer.java
./windows/classes/sun/awt/windows/TranslucentWindowPainter.java
./windows/classes/sun/awt/windows/WPathGraphics.java
./windows/classes/sun/awt/windows/WEmbeddedFrame.java
./windows/classes/sun/awt/windows/WToolkit.java
./windows/classes/sun/awt/windows/WMenuItemPeer.java
./windows/classes/sun/awt/windows/WFramePeer.java
./windows/classes/sun/awt/PlatformGraphicsInfo.java
./windows/classes/com/sun/java/swing/plaf/windows/AnimationController.java
./windows/classes/com/sun/java/swing/plaf/windows/XPStyle.java
./windows/classes/com/sun/java/swing/plaf/windows/WindowsLookAndFeel.java