I would add a static threadlocal buffer to the PrintStream you're installing :)

Kristian


2014-06-20 13:56 GMT+02:00 Benson Margulies <[email protected]>:
> I've got some tests that are validating the usage messages of main
> methods. To do this, they go and call System.setOut. Running two of
> these in parallel is, of course, a disaster.
>
> Is there any way to exempt a class from the parallel option?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to