<i18n dev> RFR: 8365180: Remove sun.awt.windows.WInputMethod.finalize() [v2]

Alexander Zvegintsev azvegint at openjdk.org
Fri Aug 22 00:30:51 UTC 2025


On Tue, 19 Aug 2025 16:47:43 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.
>
> Phil Race has updated the pull request incrementally with one additional commit since the last revision:
> 
>   8365180

Marked as reviewed by azvegint (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/26706#pullrequestreview-3142655536


More information about the i18n-dev mailing list