RFR: 8375351: Remove usage of AppContext from print implementation [v4]

Sergey Bylokhov serb at openjdk.org
Wed Jan 21 00:04:59 UTC 2026


On Sat, 17 Jan 2026 17:49:44 GMT, Phil Race <prr at openjdk.org> wrote:

>> Remove AppContext from javax.print
>
> Phil Race has updated the pull request incrementally with one additional commit since the last revision:
> 
>   8375351

src/java.desktop/share/classes/javax/print/StreamPrintServiceFactory.java line 77:

> 75:      */
> 76:     private static Services getServices() {
> 77:         return SERVICES;

Can SERVICES be eliminated completely? Previously, services acted as a bridge between the client and listOfFactories (via the per-app context). Now there is a 1-to-1 mapping.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/29237#discussion_r2710485534


More information about the client-libs-dev mailing list