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

Improve concurrency in jpackage instances

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Won't Fix
    • P4
    • None
    • 14
    • tools

    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

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

              Dates

                Created:
                Updated:
                Resolved: