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

jpackage: file association additional arguments

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 20
    • 17, 18, 19, 20
    • tools
    • None
    • b06
    • generic
    • windows

    Description

      jpackage implementation of file association on Windows currently passes a selected filename as an only argument to associated executable. When a file with associated extension is run with additional command line arguments (from command line of from a desktop icon) - these arguments are not passed to the executable. Such usage was observed in practice with a third-party java application that used a desktop icon with a command: '"path/to/app.jar" arg1'.

      It is proposed to support additional arguments by including a wildcard reference to all the arguments (not including %0) using "%*" parameter.

      Attachments

        Activity

          People

            akasko Alex Kasko
            akasko Alex Kasko
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: