mirror of
https://github.com/corda/corda.git
synced 2025-01-03 19:54:13 +00:00
25 lines
898 B
Diff
25 lines
898 B
Diff
--- openjdk/java_props_md.c
|
|
+++ openjdk/java_props_md.c
|
|
@@ -212,17 +212,17 @@
|
|
* SHELL32 DLL is delay load DLL and we can use the trick with
|
|
* __try/__except block.
|
|
*/
|
|
- __try {
|
|
+ /* __try { */
|
|
/*
|
|
* For Windows Vista and later (or patched MS OS) we need to use
|
|
* [SHGetKnownFolderPath] call to avoid MAX_PATH length limitation.
|
|
* Shell32.dll (version 6.0.6000 or later)
|
|
*/
|
|
hr = SHGetKnownFolderPath(&FOLDERID_Profile, KF_FLAG_DONT_VERIFY, NULL, &u_path);
|
|
- } __except(EXCEPTION_EXECUTE_HANDLER) {
|
|
+ /* } __except(EXCEPTION_EXECUTE_HANDLER) { */
|
|
/* Exception: no [SHGetKnownFolderPath] entry */
|
|
- hr = E_FAIL;
|
|
- }
|
|
+ /* hr = E_FAIL; */
|
|
+ /* } */
|
|
|
|
if (FAILED(hr)) {
|
|
WCHAR path[MAX_PATH+1];
|