Improve concurrency in jpackage instances

XMLWordPrintable

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

      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.

            Assignee:
            Andy Herrick (Inactive)
            Reporter:
            Kevin Rushforth
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: