You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Yan Duan (Jira)" <ji...@apache.org> on 2021/06/08 22:48:00 UTC

[jira] [Closed] (IO-736) commons-io version 2.7+: IOUtils.length(boms) returns 0 even if boms is not empty

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

Yan Duan closed IO-736.
-----------------------
    Resolution: Not A Problem

> commons-io version 2.7+: IOUtils.length(boms) returns 0 even if boms is not empty
> ---------------------------------------------------------------------------------
>
>                 Key: IO-736
>                 URL: https://issues.apache.org/jira/browse/IO-736
>             Project: Commons IO
>          Issue Type: Bug
>          Components: Utilities
>    Affects Versions: 2.7
>            Reporter: Yan Duan
>            Priority: Major
>         Attachments: image-2021-06-02-16-47-57-567.png
>
>
>  in"BOMInputStream" class, IOUtils.length(boms) would return 0 and breaks the method while "boms" has five elements:
> !image-2021-06-02-16-47-57-567.png|width=450,height=300!
> please investigate and provide a fix, thanks!



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