Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8045810 | 8u25 | Alex Menkov | P4 | Closed | Fixed | b01 |
JDK-8042306 | 8u20 | Alex Menkov | P4 | Closed | Fixed | b17 |
JDK-8052862 | emb-8u26 | Alex Menkov | P4 | Resolved | Fixed | b17 |
Request from the team:
Registry class (introduced in jdk8 to replace buggy RegKey class and direct WinAPI registry functions) does not contain usage examples.
Also there are some minor issue in the class which should be fixed:
1) deleteKeyTree() method need a parameter to specify RedirectMode
in the current design
Registry::LocaleMachine.deleteKeyTree(_T("SOFTWARE\\JavaSoft\\Java Update"))
deletes the key using the default RedirectMode
2) Registry objects need to keep RedirectMode value and open subkeys using it
Currently
Registry reg1(Registry::LocalMachine, _T("Software"), Registry::ReadOnly, Registry::Wow64_32);
Registry reg2(reg1, _T("JavaSoft"), Registry::ReadOnly);
opens reg2 with the default RedirectMode
but it should use the parent RedirectMode (so in the example reg2 should be opened in Wow64_32)
Registry class (introduced in jdk8 to replace buggy RegKey class and direct WinAPI registry functions) does not contain usage examples.
Also there are some minor issue in the class which should be fixed:
1) deleteKeyTree() method need a parameter to specify RedirectMode
in the current design
Registry::LocaleMachine.deleteKeyTree(_T("SOFTWARE\\JavaSoft\\Java Update"))
deletes the key using the default RedirectMode
2) Registry objects need to keep RedirectMode value and open subkeys using it
Currently
Registry reg1(Registry::LocalMachine, _T("Software"), Registry::ReadOnly, Registry::Wow64_32);
Registry reg2(reg1, _T("JavaSoft"), Registry::ReadOnly);
opens reg2 with the default RedirectMode
but it should use the parent RedirectMode (so in the example reg2 should be opened in Wow64_32)
- backported by
-
JDK-8052862 Registry class enhancements
-
- Resolved
-
-
JDK-8042306 Registry class enhancements
-
- Closed
-
-
JDK-8045810 Registry class enhancements
-
- Closed
-