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

Wrong registry script referenced in Windows JDK installer

XMLWordPrintable

    • b07
    • generic
    • windows
    • Verified

        In deploy/src/plugin/win32/regutils/RegInstall.cpp, RegCurrentVersionKeys:

        If installType != 0, IDR_RegCurrentVersion is being used. It is clear that this should be IDR_RegSDKCurrentVersion. IDR_RegSDKCurrentVersion is unreferenced in the current code.

        The expected side effect is if the JDK is installed without the associated public JRE, we will pollute the registry with a bunch of incorrect and/or corrupt keys.

        Testing indicates that for an unknown reason this does not happen. It is possible that the unresolved macros cause the application of the registry script to fail. Currently it is unknown why the HKLM/SOFTWARE/JavaSoft/Java Development Kit/Current registry key is being correctly created.

              jqzuo Jennifer Zuo (Inactive)
              kbr Kenneth Russell (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: