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

Phil Race prr at openjdk.org
Tue Feb 24 21:00:43 UTC 2026


On Tue, 24 Feb 2026 19:33:37 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

>> 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?

right not needed any more. Removed.

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

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


More information about the client-libs-dev mailing list