-
Bug
-
Resolution: Fixed
-
P4
-
24
-
master
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 shared implementation 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.
Also avoid any other SecurityManager related clean up even in the same file.
Those will be addressed in follow-on bugs.
./share/classes/sun/awt/datatransfer/TransferableProxy.java
./share/classes/sun/awt/datatransfer/DataTransferer.java
./share/classes/sun/awt/NativeLibLoader.java
./share/classes/sun/awt/FontConfiguration.java
./share/classes/sun/awt/im/InputMethodContext.java
./share/classes/sun/awt/im/ExecutableInputMethodManager.java
./share/classes/sun/awt/im/InputContext.java
./share/classes/sun/awt/AppContext.java
./share/classes/sun/awt/AWTAutoShutdown.java
./share/classes/sun/awt/CausedFocusEvent.java
./share/classes/sun/awt/DebugSettings.java
./share/classes/sun/awt/FontDescriptor.java
./share/classes/sun/font/FontManagerNativeLibrary.java
./share/classes/sun/font/CreatedFontTracker.java
./share/classes/sun/font/FileFont.java
./share/classes/sun/font/Type1Font.java
./share/classes/sun/font/FontUtilities.java
./share/classes/sun/font/SunFontManager.java
./share/classes/sun/font/StrikeCache.java
./share/classes/sun/font/SunLayoutEngine.java
./share/classes/sun/font/TrueTypeFont.java
[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 shared implementation 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.
Also avoid any other SecurityManager related clean up even in the same file.
Those will be addressed in follow-on bugs.
./share/classes/sun/awt/datatransfer/TransferableProxy.java
./share/classes/sun/awt/datatransfer/DataTransferer.java
./share/classes/sun/awt/NativeLibLoader.java
./share/classes/sun/awt/FontConfiguration.java
./share/classes/sun/awt/im/InputMethodContext.java
./share/classes/sun/awt/im/ExecutableInputMethodManager.java
./share/classes/sun/awt/im/InputContext.java
./share/classes/sun/awt/AppContext.java
./share/classes/sun/awt/AWTAutoShutdown.java
./share/classes/sun/awt/CausedFocusEvent.java
./share/classes/sun/awt/DebugSettings.java
./share/classes/sun/awt/FontDescriptor.java
./share/classes/sun/font/FontManagerNativeLibrary.java
./share/classes/sun/font/CreatedFontTracker.java
./share/classes/sun/font/FileFont.java
./share/classes/sun/font/Type1Font.java
./share/classes/sun/font/FontUtilities.java
./share/classes/sun/font/SunFontManager.java
./share/classes/sun/font/StrikeCache.java
./share/classes/sun/font/SunLayoutEngine.java
./share/classes/sun/font/TrueTypeFont.java
- links to
-
Commit(master) openjdk/jdk/69c9f256
-
Review(master) openjdk/jdk/22161