RFR: 8378389: Remove AppContext from the Swing RepaintManager
Sergey Bylokhov
serb at openjdk.org
Mon Feb 23 22:45:48 UTC 2026
On Sun, 22 Feb 2026 00:43:20 GMT, Phil Race <prr at openjdk.org> wrote:
> Remove AppContext from RepaintManager
>
> Please review the CSR too.
src/java.desktop/share/classes/javax/swing/RepaintManager.java line 259:
> 257: * Returns the RepaintManager.
> 258: */
> 259: static RepaintManager currentManager() {
I think we should inline this method into currentManager(Component c) above and update all usages of currentManager(AppContext) to use the component instead.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/29862#discussion_r2843447012
More information about the client-libs-dev
mailing list