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

Add a configure option to explicitly set CompanyName property in VersionInfo resource for Windows exe/dll

XMLWordPrintable

    • b02
    • windows

        When building OpenJDK on the Windows platform, version information are embedded as compiled resources into every native library and executable, which typically contain version numbers, copyright information, product name and vendor name (called "Company name" in this context).

        Currently, the value for "Company name" is always the same as that of "vendor-name", whether it was populated from a default value or overridden via "--with-vendor-name" at configure time.

        It would be really useful to some build scenarios to allow for the "company name" property embedded in the VersionInfo compiled resources to be different from the "vendor name" property that is used within the JVM (e.g. java -version).

        In the same way that there already exists "--with-jdk-rc-name" which is used to override the values of "File description" and "Product name" properties of VersionInfo, there could be a "--with-jdk-rc-company-name" which could be used to set the value of "Company name".

        If the flag isn't specified at configure time, then the vendor-name value would be used as before, so that no changes in behavior would arise.


              fthevenet Frederic Thevenet
              fthevenet Frederic Thevenet
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: