Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7159803

ignore ERROR_FILE_NOT_FOUND return code when setting HKCU entries

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 8
    • 6u32, 7u4, 8
    • deploy
    • b34
    • x86
    • windows, windows_vista

        http://javafx-jira.kenai.com/browse/RT-20716

        both ssv code and regfx code write to HKCU registry branch right now. and in some cases, we check return code of those write and it affects return code of registerdeploy.

        problem is if the registry write code get run as the user NT AUTHORITY\SYSTEM, write to HKCU will go to HKU\.DEFAULT branch instead. The key branch that we are writing into might not exsits in .DEFAULT, and this will cause the update to fail. We think it's okay to ignore this error for now and proceed - because when plugin runs, it should not be reading HKU\.DEFAULT anyway

              ngthomas Thomas Ng (Inactive)
              ngthomas Thomas Ng (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: