RFR: 8365180: Remove sun.awt.windows.WInputMethod.finalize() [v2]

Sergey Bylokhov serb at openjdk.org
Wed Aug 20 02:33:38 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 serb (Reviewer).

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

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


More information about the client-libs-dev mailing list