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

Improve concurrency in jpackage instances

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Won't Fix
    • Affects Version/s: 14
    • Fix Version/s: None
    • Component/s: tools
    • Labels:

      Description

      The jdk.jpackage.main.Main::run method for the jpackage tool, which is called either when the tool is run via the `jpacakge` command line tool or via a jpackage ToolProvider instance, is a static method that cannot be called concurrently from mutiple threads.

      The implementation should instead use an instance method do that multiple instances of the ToolProvider can run concurrently. The logging should be relative to that instance (delegated where needed). Main can then be a simple lookup of the tool provider and invoke.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              herrick Andy Herrick
              Reporter:
              kcr Kevin Rushforth
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: