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

Christian Schulte updated IO-502:
---------------------------------
    Attachment: IO-502-OpenBSD.patch

Getting

{code}
testGetFreeSpace_String(org.apache.commons.io.FileSystemUtilsTestCase)  Time 
elapsed: 0.277 sec  <<< ERROR!
java.lang.IllegalStateException: Unsupported operating system
        at 
org.apache.commons.io.FileSystemUtils.freeSpaceOS(FileSystemUtils.java:271)
        at 
org.apache.commons.io.FileSystemUtils.freeSpace(FileSystemUtils.java:143)
        at 
org.apache.commons.io.FileSystemUtilsTestCase.testGetFreeSpace_String(FileSystemUtilsTestCase.java:71)
{code}

os.name is "OpenBSD". Patch adding support for it.

{code}
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
{code}

> Exceptions are suppressed incorrectly when copying files.
> ---------------------------------------------------------
>
>                 Key: IO-502
>                 URL: https://issues.apache.org/jira/browse/IO-502
>             Project: Commons IO
>          Issue Type: Bug
>          Components: Utilities
>    Affects Versions: 2.4, 2.5
>            Reporter: Christian Schulte
>            Assignee: Gary Gregory
>            Priority: Critical
>             Fix For: 2.6
>
>         Attachments: IO-502-OpenBSD.patch, IO-502.patch
>
>
> When copying files or directories, exceptions thrown on closing streams are 
> suppressed incorrectly and need to be propagated to the caller.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to