> 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.
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

Jeremy Wood has updated the pull request incrementally with one additional 
commit since the last revision:

  8380790: trivial formatting cleanup

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/30401/files
  - new: https://git.openjdk.org/jdk/pull/30401/files/0876ee8c..85114da4

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=30401&range=06
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=30401&range=05-06

  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/30401.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/30401/head:pull/30401

PR: https://git.openjdk.org/jdk/pull/30401

Reply via email to