-
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 javax.print, javax.imageio and media classes 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/javax/print/StreamPrintServiceFactory.java
./share/classes/javax/print/DocFlavor.java
./share/classes/javax/print/PrintServiceLookup.java
./share/classes/javax/imageio/spi/IIORegistry.java
./share/classes/javax/imageio/spi/ServiceRegistry.java
./share/classes/javax/imageio/spi/ImageReaderWriterSpi.java
./share/classes/javax/imageio/ImageIO.java
./share/classes/javax/imageio/metadata/IIOMetadata.java
./share/classes/com/sun/java/swing/plaf/gtk/Metacity.java
./share/classes/com/sun/imageio/plugins/jpeg/JPEGImageWriter.java
./share/classes/com/sun/imageio/plugins/jpeg/JPEGImageReader.java
./share/classes/com/sun/imageio/plugins/bmp/BMPImageReader.java
./share/classes/com/sun/imageio/stream/StreamCloser.java
./share/classes/com/sun/media/sound/SoftSynthesizer.java
./share/classes/com/sun/media/sound/JDK13Services.java
./share/classes/com/sun/media/sound/JSSecurityManager.java
./share/classes/com/sun/media/sound/Platform.java
./share/classes/com/sun/media/sound/JARSoundbankReader.java
./share/classes/com/sun/media/sound/Printer.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 javax.print, javax.imageio and media classes 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/javax/print/StreamPrintServiceFactory.java
./share/classes/javax/print/DocFlavor.java
./share/classes/javax/print/PrintServiceLookup.java
./share/classes/javax/imageio/spi/IIORegistry.java
./share/classes/javax/imageio/spi/ServiceRegistry.java
./share/classes/javax/imageio/spi/ImageReaderWriterSpi.java
./share/classes/javax/imageio/ImageIO.java
./share/classes/javax/imageio/metadata/IIOMetadata.java
./share/classes/com/sun/java/swing/plaf/gtk/Metacity.java
./share/classes/com/sun/imageio/plugins/jpeg/JPEGImageWriter.java
./share/classes/com/sun/imageio/plugins/jpeg/JPEGImageReader.java
./share/classes/com/sun/imageio/plugins/bmp/BMPImageReader.java
./share/classes/com/sun/imageio/stream/StreamCloser.java
./share/classes/com/sun/media/sound/SoftSynthesizer.java
./share/classes/com/sun/media/sound/JDK13Services.java
./share/classes/com/sun/media/sound/JSSecurityManager.java
./share/classes/com/sun/media/sound/Platform.java
./share/classes/com/sun/media/sound/JARSoundbankReader.java
./share/classes/com/sun/media/sound/Printer.java
- links to
-
Commit(master) openjdk/jdk/22a39dc8
-
Review(master) openjdk/jdk/22186