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

Renjith Kannath Pariyangad rkannathpari at openjdk.org
Tue Feb 3 03:50:40 UTC 2026


> 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 10 additional commits since the last revision:

 - Merge master
 - Merge branch 'openjdk:master' into 8328977-v1
 - Fixed bug4492274 test failure
 - Merge master
 - Fixes NullPointerException
 - 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/6fccd277..17b764b7

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

  Stats: 1533608 lines in 16584 files changed: 859036 ins; 514058 del; 160514 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