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/02 23:49:00 UTC

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

Yan Duan created IO-736:
---------------------------

             Summary: 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
         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)