You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/01/28 09:42:00 UTC

[jira] [Work logged] (IO-710) Utilize java.io.UncheckedIOException, rethrow SecurityException

     [ https://issues.apache.org/jira/browse/IO-710?focusedWorklogId=543496&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-543496 ]

ASF GitHub Bot logged work on IO-710:
-------------------------------------

                Author: ASF GitHub Bot
            Created on: 28/Jan/21 09:41
            Start Date: 28/Jan/21 09:41
    Worklog Time Spent: 10m 
      Work Description: boris-unckel opened a new pull request #195:
URL: https://github.com/apache/commons-io/pull/195


   Fixes [https://issues.apache.org/jira/browse/IO-710](https://issues.apache.org/jira/browse/IO-710)


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 543496)
    Remaining Estimate: 0h
            Time Spent: 10m

> Utilize java.io.UncheckedIOException, rethrow SecurityException
> ---------------------------------------------------------------
>
>                 Key: IO-710
>                 URL: https://issues.apache.org/jira/browse/IO-710
>             Project: Commons IO
>          Issue Type: Improvement
>          Components: Utilities
>    Affects Versions: 2.8.0
>            Reporter: Boris Unckel
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Some methods catch IOExceptions and rethrow them in other RuntimeException based exceptions (IllegalStateException, IllegalArgumentException).
> The JRE offers a standard for this usecase: java.io.UncheckedIOException
> In one case a SecurityException would be hidden. This is awfull if you're trying to find the right set of permissions to make the SecurityManager work. The default must be to rethrow them.



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