RFR: 8328977 : JEditorPane.setPage not thread-safe, pageLoader not cancelled [v4]

Renjith Kannath Pariyangad rkannathpari at openjdk.org
Tue Feb 11 04:27:15 UTC 2025


> Hi Reviewers,
> 
> Added pageloader cancel before new page creation along with code restructuring. Moved all page loading calls inside synchronize to make it thread safe.
> 
> Regards,
> Renjith.

Renjith Kannath Pariyangad has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains five additional commits since the last revision:

 - Merge master
 - Rearranged if based on suggesion
 - Suggesions updated
 - Removed space
 - JDK-8328977 : JEditorPane.setPage not thread-safe, pageLoader not cancelled

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/18670/files
  - new: https://git.openjdk.org/jdk/pull/18670/files/be168e9d..6fccd277

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=18670&range=03
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=18670&range=02-03

  Stats: 1363885 lines in 17112 files changed: 835949 ins; 411674 del; 116262 mod
  Patch: https://git.openjdk.org/jdk/pull/18670.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/18670/head:pull/18670

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


More information about the client-libs-dev mailing list