RFR: 8356208: Remove obsolete code in PSPrinterJob for plugin printing

Andrey Turbanov aturbanov at openjdk.org
Tue May 6 09:11:18 UTC 2025


On Mon, 5 May 2025 18:55:47 GMT, Phil Race <prr at openjdk.org> wrote:

> Delete the obsolete classes PluginPrinter and EPSPrinter. They were only ever called by the Java Plugin printing for applets.

src/java.desktop/share/classes/sun/print/PSPrinterJob.java line 533:

> 531:                 try {
> 532:                     spoolFile = new File(mDestination);
> 533:                     output =  new FileOutputStream(spoolFile);

Suggestion:

                    output = new FileOutputStream(spoolFile);

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/25047#discussion_r2075050472


More information about the client-libs-dev mailing list