RFR: 8364230: javax/swing/text/StringContent can be migrated away from using finalize [v3]

Phil Race prr at openjdk.org
Wed Aug 6 19:39:08 UTC 2025


> Convert StringContent's Position usage tracking to use a WeakReference
> 
> The test that is added only implicitly tests this but I added it because of a complete lack of any test for this code.

Phil Race has updated the pull request incrementally with one additional commit since the last revision:

  8364230

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/26519/files
  - new: https://git.openjdk.org/jdk/pull/26519/files/e37e57c2..41fdf62e

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

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

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


More information about the client-libs-dev mailing list