RFR: 8378389: Remove AppContext from the Swing RepaintManager [v2]
Phil Race
prr at openjdk.org
Tue Feb 24 18:53:03 UTC 2026
On Mon, 23 Feb 2026 22:57:17 GMT, Phil Race <prr at openjdk.org> wrote:
>> src/java.desktop/share/classes/javax/swing/RepaintManager.java line 245:
>>
>>> 243: * be used by an overridden version to return a different RepaintManager
>>> 244: * depending on the Component
>>> 245: * @return the RepaintManager object
>>
>> This spec looks broken as well, how this method could be "overridden"?
>
> I don't think it can mean the method is overridden.
> Probably it means a hypothetical implementation of RepaintManager could return a per-component instance.
> Not sure I want to try to reword that as part of this change.
>
> But I notice this also mentions "thread". I will fix that.
re-testing looks good. update pushed
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/29862#discussion_r2848955681
More information about the client-libs-dev
mailing list