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

Improve concurrency in jpackage instances

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • 14
    • 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.

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

              Created:
              Updated:
              Resolved: