jpackage references non-existing "message.app-image-requires-identifier" l10n key

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • 27
    • Affects Version/s: 25, 26, 27
    • Component/s: tools
    • None
    • Fix Understood
    • generic
    • os_x

      "message.app-image-requires-identifier" l10n key is referenced from the exception handler in MacApplicationBuilder#createCopyForExternalInfoPlistFile() [1].

      MacApplicationBuilder#createCopyForExternalInfoPlistFile() was added in JDK-8333664. Likely the l10n key was not added to the MacResources.properties file by accident.

      Have not caused any problem yet. It is a corner case triggered only when reading an invalid plist file.

      Add missing "message.app-image-requires-identifier" l10n key and a test.

      [1] https://github.com/openjdk/jdk/blob/3144b572d33713cd3311352f0bbaac8b69408fe4/src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacApplicationBuilder.java#L186

            Assignee:
            Alexey Semenyuk
            Reporter:
            Alexey Semenyuk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: