On Tue, 29 Apr 2025 14:09:51 GMT, Andrey Turbanov <aturba...@openjdk.org> wrote:
>> src/java.desktop/share/classes/javax/swing/RepaintManager.java line 394: >> >>> 392: } >>> 393: if (invalidComponents != null) { >>> 394: invalidComponents.remove(component); >> >> I guess the `addInvalidComponent` above can be simplified as well? > > Simplified how? the loop over invalidComponents ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/24845#discussion_r2067799531