RFR: 8378389: Remove AppContext from the Swing RepaintManager [v2]

Sergey Bylokhov serb at openjdk.org
Tue Feb 24 19:36:18 UTC 2026


On Tue, 24 Feb 2026 18:53:00 GMT, Phil Race <prr at openjdk.org> wrote:

>> Remove AppContext from RepaintManager
>> 
>> Please review the CSR too.
>
> Phil Race has updated the pull request incrementally with one additional commit since the last revision:
> 
>   8378389

src/java.desktop/share/classes/javax/swing/RepaintManager.java line 261:

> 259:      */
> 260:     static RepaintManager currentManager(AppContext appContext) {
> 261:         RepaintManager rm = (RepaintManager)appContext.get(repaintManagerKey);

It is invisible in the diff but seems the repaintManagerKey field is not needed anymore?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/29862#discussion_r2849160847


More information about the client-libs-dev mailing list