[ https://issues.apache.org/jira/browse/VFS-744?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gary D. Gregory updated VFS-744: -------------------------------- Description: The method {{org.apache.commons.vfs2.FileContent.getByteArray()}} can throw {{NegativeArraySizeException}} for BZip2 files when a file size within the compressed file cannot be determined. This method is called by: - org.apache.commons.vfs2.FileContent.getString(Charset) - org.apache.commons.vfs2.FileContent.getString(String) - org.apache.commons.vfs2.FileUtil.getContent(FileObject) was: The method {{org.apache.commons.vfs2.FileContent.getByteArray()}} can throw {{NegativeArraySizeException}} for BZip2 files when a file size within the compressed file cannot be determined. > org.apache.commons.vfs2.FileContent.getByteArray() can throw > NegativeArraySizeException for BZip2 files > ------------------------------------------------------------------------------------------------------- > > Key: VFS-744 > URL: https://issues.apache.org/jira/browse/VFS-744 > Project: Commons VFS > Issue Type: New Feature > Reporter: Gary D. Gregory > Priority: Major > > The method {{org.apache.commons.vfs2.FileContent.getByteArray()}} can throw > {{NegativeArraySizeException}} for BZip2 files when a file size within the > compressed file cannot be determined. > This method is called by: > - org.apache.commons.vfs2.FileContent.getString(Charset) > - org.apache.commons.vfs2.FileContent.getString(String) > - org.apache.commons.vfs2.FileUtil.getContent(FileObject) -- This message was sent by Atlassian Jira (v8.3.4#803005)