RFR: 8342870: Errors related to unused code on Windows after 8339120 in accessibility [v5]

Julian Waters jwaters at openjdk.org
Mon Sep 8 14:17:52 UTC 2025


On Tue, 28 Jan 2025 17:33:42 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:

>> I'll submit a new bug to address this problem.
>> 
>> It's not just a matter of an unused variables, it's the logic error: if the buffer is too small, *a new buffer is allocated*, yet this new buffer isn't deleted afterwards, nor is used to read the value retrieved from the registry.
>
> I submitted [JDK-8348872](https://bugs.openjdk.org/browse/JDK-8348872): _jabswitch.cpp: regEnable and regDeleteValue leak reallocated data buffer_.

Hi, I'm back to trying to work on the JDK now. Should this issue depend on 8348872 and 8348876? Hopefully those can be fixed soon

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

PR Review Comment: https://git.openjdk.org/jdk/pull/21656#discussion_r2330364028


More information about the client-libs-dev mailing list