-
Bug
-
Resolution: Unresolved
-
Major
The current TaskListener API exposes only a PrintStream. This is convenient for typical callers, but PrintStream is simply a utility class, and it makes IOException handling opaque. This has resulted in the need in at least one case to "unwrap" it using reflection, which then breaks on Java 17. The underlying OutputStream should rather be exposed directly. (There are only a few implementations so it should not be hard to offer it most of the time.)