You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benjamin Marwell (Jira)" <ji...@apache.org> on 2021/01/18 07:19:00 UTC

[jira] [Resolved] (MJLINK-62) Replace ByteArrayOutputStream with StringWriter

     [ https://issues.apache.org/jira/browse/MJLINK-62?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Marwell resolved MJLINK-62.
------------------------------------
    Resolution: Fixed

> Replace ByteArrayOutputStream with StringWriter
> -----------------------------------------------
>
>                 Key: MJLINK-62
>                 URL: https://issues.apache.org/jira/browse/MJLINK-62
>             Project: Maven JLink Plugin
>          Issue Type: Bug
>    Affects Versions: 3.1.0
>            Reporter: Benjamin Marwell
>            Assignee: Benjamin Marwell
>            Priority: Major
>              Labels: encoding
>             Fix For: 3.2.0
>
>
> Currently a BAOS exists to capture JLinks output.
> Replacing it with StringWriter would preserve the platform’s encoding.
> Reference:
> https://github.com/apache/maven-jlink-plugin/blob/f8bdf5050c266854524aaa51eb36109c00ca692a/src/main/java9/org/apache/maven/plugins/jlink/JLinkExecutor.java#L72-L75



--
This message was sent by Atlassian Jira
(v8.3.4#803005)