Integrated: 8364230: javax/swing/text/StringContent can be migrated away from using finalize

Phil Race prr at openjdk.org
Thu Aug 7 19:01:43 UTC 2025


On Mon, 28 Jul 2025 22:38:03 GMT, Phil Race <prr at openjdk.org> wrote:

> 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.

This pull request has now been integrated.

Changeset: 78117eff
Author:    Phil Race <prr at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/78117eff563e59a738c59efa7ef595b13f62b621
Stats:     92 lines in 2 files changed: 71 ins; 14 del; 7 mod

8364230: javax/swing/text/StringContent can be migrated away from using finalize

Reviewed-by: psadhukhan, abhiscxk, kizune

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

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


More information about the client-libs-dev mailing list