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

[macos] Use the value of `--description` option in macos bundles

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • 25
    • None
    • tools
    • generic
    • os_x

      jpackage doesn't use the value of `--description` property in macos bundles (app-image, pkg, dmg). It is completely ignored on macos.

      The value of `--description` options can be saved in `CFBundleGetInfoString` plist property. This is what multiple vendors do for JDK bundles.

      However, CFBundleGetInfoString is obsolete according to [1]. It was replaced with NSHumanReadableCopyright, which jpackage sets already to the copyright string.

      Maybe use CFBundleSpokenName property for the value of `--description` option? See [2].

      [1] https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CocoaKeys.html
      [2] https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html#//apple_ref/doc/uid/TP40009249-SW3

            almatvee Alexander Matveev
            asemenyuk Alexey Semenyuk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: