On Mon, 12 Jan 2026 19:03:25 GMT, Alexey Semenyuk <[email protected]> wrote:

> The patch addresses two issues:
>  - Each jpackage tool provider instance should have its own logging config 
> instance.
>  - The test lib should be able to keep output from concurrently running tests 
> isolated from each other.
> 
> These two fixes are bundled together because it is impossible to verify the 
> jpackage implementation fix without fixing the test lib.
> 
> The test lib fix replaces all inheritable thread-local variables with scoped 
> values. It fixes the interleaved output issue and simplifies the 
> implementation.
> 
> Supplementary changes:
>  - jdk.jpackage.internal.cli.Main: when creating a `java.io.PrintWriter` from 
> a `java.io.PrintStream`, copy the charset instead of using the default one.

This pull request has now been integrated.

Changeset: 9ed0ecbc
Author:    Alexey Semenyuk <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/9ed0ecbcc1b4796bc56b7cb341ff8f9d3898713d
Stats:     688 lines in 13 files changed: 386 ins; 162 del; 140 mod

8375061: Multiple jpackage tool providers may share the same logging config

Reviewed-by: almatvee

-------------

PR: https://git.openjdk.org/jdk/pull/29175

Reply via email to