On Wed, 25 Mar 2026 22:47:19 GMT, Jeremy Wood <[email protected]> wrote:

>> If we made n-many calls to 
>> textPane.getAccessibleContext().getAccessibleText() then we'd add n-many 
>> DocumentListeners to the HTMLDocument.
>> 
>> These listeners are very light, but even so: after thousands of listeners it 
>> may start to degrade performance.
>
> Jeremy Wood has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   8380790: remove "/manual" from run tag
>   
>   This is in response to:
>   https://github.com/openjdk/jdk/pull/30401#discussion_r2990839770

test/jdk/javax/accessibility/8380790/GetAccessibleTextAddsDocumentListeners.java
 line 33:

> 31:  * @summary make sure getAccessibleText() doesn't add DocumentListeners
> 32:  * @library /java/awt/regtesthelpers
> 33:  * @build PassFailJFrame

@build PassFailJFrame and @library /java/awt/regtesthelpers also seems copied 
from some manual test

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

PR Review Comment: https://git.openjdk.org/jdk/pull/30401#discussion_r2997114800

Reply via email to