On Fri, 8 Aug 2025 21:38:27 GMT, Phil Race <p...@openjdk.org> wrote:

> Remove finalize() from WInputMethod.java - it is used to free a native id.
> Also the reason dispose() didn't free it seems no longer relevant.
> Although I did see (when instrumenting) that dispose() was called when I 
> disposed() the Frame referencing the IM,
> I don't know if I can be sure that is always done. So safest to add the 
> Disposer in case it isn't.

This pull request has now been integrated.

Changeset: 8e448569
Author:    Phil Race <p...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/8e4485699235caff0074c4d25ee78539e57da63a
Stats:     29 lines in 2 files changed: 13 ins; 3 del; 13 mod

8365180: Remove sun.awt.windows.WInputMethod.finalize()

Reviewed-by: serb, azvegint

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

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

Reply via email to