On Mon, 21 Sep 2026 13:06:25 GMT, Matthias Baesken <[email protected]> wrote:
> There are some RegQueryValueEx* calls in e.g. net and nio, those can > potentially be simplified by using RegGetValue*. > Benefit is that some null termination of string results might be not needed > any more, that is missing now. > > See > https://learn.microsoft.com/de-de/windows/win32/api/winreg/nf-winreg-reggetvaluea > . > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai). AFAICT `RRF_NOEXPAND` only makes sense with `RRF_RT_REG_EXPAND_SZ`, which you don't use, so I think it's useless and safe to remove. ------------- PR Comment: https://git.openjdk.org/jdk/pull/32987#issuecomment-5774355513
