Not much else to say but this a bit serious for what I'm working on at the moment.
How to reproduce:
- Open up regedit
- Create a registry key and add an empty REG_BINARY value
- Add a couple of other values
- Then try this:
System.out.println(Advapi32Util.registryGetValues(WinReg.HKEY_CURRENT_USER, "your_key_here").size());
You will see that it returns 0 entries, even though there are several actually there. If you remove that binary value, registryGetValues() will magically work again.
Not much else to say but this a bit serious for what I'm working on at the moment.
How to reproduce:
System.out.println(Advapi32Util.registryGetValues(WinReg.HKEY_CURRENT_USER, "your_key_here").size());
You will see that it returns 0 entries, even though there are several actually there. If you remove that binary value, registryGetValues() will magically work again.