> 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/7d8d45e1..0876ee8c

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

  Stats: 4 lines in 1 file changed: 2 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