Make jpackage ToolProvider implementation implement `ToolProvider#run(PrintStream, PrintStream, String)` method such that it passes `PrintWriter` objects with auto-flush enabled into `ToolProvider#run(PrintWriter, PrintWriter, String)` call.
------------- Commit messages: - cli Main: auto flash stderr and stdout in all variants of ToolProvider Changes: https://git.openjdk.org/jdk/pull/28807/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=28807&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8373628 Stats: 20 lines in 1 file changed: 20 ins; 0 del; 0 mod Patch: https://git.openjdk.org/jdk/pull/28807.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/28807/head:pull/28807 PR: https://git.openjdk.org/jdk/pull/28807
