Integrated: 8365180: Remove sun.awt.windows.WInputMethod.finalize()
Phil Race
prr at openjdk.org
Fri Aug 22 04:31:55 UTC 2025
On Fri, 8 Aug 2025 21:38:27 GMT, Phil Race <prr at 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 <prr at 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
More information about the client-libs-dev
mailing list