On Wed, 5 Apr 2023 17:03:45 GMT, Nikita Gubarkov <[email protected]> wrote:

> `data` array has size of `MAX_BUFFER` like `wname`, but it has a char type, 
> so its size is twice smaller than actual path limit, because paths returned 
> by `RegEnumValueW` use wide chars. We need to double this limit.

This pull request has now been integrated.

Changeset: f842ec48
Author:    Nikita Gubarkov <[email protected]>
Committer: Alexey Ushakov <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/f842ec48b1e24afd99ad06cb1310bd51d9b8bae4
Stats:     21 lines in 1 file changed: 6 ins; 8 del; 7 mod

8305667: Some fonts installed in user directory are not detected on Windows

Reviewed-by: avu, prr

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

PR: https://git.openjdk.org/jdk/pull/13359

Reply via email to