On Tue, 31 Mar 2026 17:36:12 GMT, Alexander Zvegintsev <[email protected]>
wrote:
>> This fix removes sun.awt.AppContext from java.awt.Window
>
> src/java.desktop/share/classes/java/awt/Window.java line 261:
>
>> 259: * Contains all the windows that have a peer object associated,
>> 260: * i. e. between addNotify() and removeNotify() calls. The list
>> 261: * of all Window instances can be obtained from {@code Vector
>> windowList}
>
> Shouldn't it be `{@link #getWindows()}`? `windowList` is declared private
It is a comment on an internal field so I just wanted to point to the internal
place where we store the list of all windows. But I can change it.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/30439#discussion_r3017528296