On Tue, 24 Mar 2026 13:12:46 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.

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

> 32:  * @library /java/awt/regtesthelpers
> 33:  * @build PassFailJFrame
> 34:  * @run main/manual GetAccessibleTextAddsDocumentListeners

Why this test marked as manual?

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

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

Reply via email to