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

Renjith Kannath Pariyangad rkannathpari at openjdk.org
Mon Apr 8 06:14:18 UTC 2024


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.

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

Commit messages:
 - Removed space
 - JDK-8328977 : JEditorPane.setPage not thread-safe, pageLoader not cancelled

Changes: https://git.openjdk.org/jdk/pull/18670/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=18670&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8328977
  Stats: 80 lines in 1 file changed: 33 ins; 28 del; 19 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