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

Sergey Bylokhov serb at openjdk.org
Thu Jan 22 21:51:29 UTC 2026


On Thu, 22 Jan 2026 17:45:25 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/PrintServiceLookup.java line 84:

> 82:      */
> 83:     private static ArrayList<PrintServiceLookup> initListOfLookupServices() {
> 84:         listOfLookupServices = new ArrayList<>();

Do we save much using this custom lazy created "new ArrayList<>()" now?

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

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


More information about the client-libs-dev mailing list