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

Sergey Bylokhov serb at openjdk.org
Tue May 6 02:45:20 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 272:

> 270:    /* non-null if printing EPS for Java Plugin */
> 271:    private EPSPrinter epsPrinter = null;
> 272: 

This looks fine, but what about all unused xx_MASK and xx_SHIFT and hexDigits at the start of this class? and unused escapeParens() and mCurMetrics below?

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

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


More information about the client-libs-dev mailing list