RFR: 8364230: javax/swing/text/StringContent can be migrated away from using finalize
Prasanta Sadhukhan
psadhukhan at openjdk.org
Fri Aug 1 05:21:55 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.
src/java.desktop/share/classes/javax/swing/text/StringContent.java line 29:
> 27: import java.util.Vector;
> 28: import java.io.Serializable;
> 29: import javax.swing.undo.*;
wildcard
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/26519#discussion_r2246931524
More information about the client-libs-dev
mailing list