On Fri, 30 May 2025 13:44:08 GMT, Weijun Wang <wei...@openjdk.org> wrote:

> Have you thought about creating a helper method for this purpose even if it's 
> internal? At least, for the tests you can create one in `/test/lib`.

Required changes are pretty minimal – passing 
`System.getProperty("stdin.encoding")` as an argument to the ctor. I doubt 
adding an extra layer of indirection (plus the need for changes in `@build` and 
`@library` tags) will worth it.

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

PR Comment: https://git.openjdk.org/jdk/pull/25544#issuecomment-2922477202

Reply via email to