RFR: 8075810: LogManager.readConfiguration may throw undocumented IllegalArgumentException

Mandy Chung mandy.chung at oracle.com
Tue Mar 24 15:28:42 UTC 2015



On 3/24/2015 7:42 AM, Daniel Fuchs wrote:
> Hi,
>
> Please find below a fix for
>
> 8075810: LogManager.readConfiguration may throw
>          undocumented IllegalArgumentException
>
> https://bugs.openjdk.java.net/browse/JDK-8075810
>
> The proposed fix is to catch the IllegalArgumentException and
> wrap it in an IOException, since LogManager.readConfiguration
> is specified to throw IOException "if there are problems reading
> from the stream."
>
> http://cr.openjdk.java.net/~dfuchs/webrev_8075810/webrev.00/
>

Looks fine.

> Initial discussion around the issue can be seen here:
> http://mail.openjdk.java.net/pipermail/core-libs-dev/2015-March/032348.html 
>
>
> Question for reviewers: I will log a CCC for this - but I am wondering
>       whether I should plan to backport the fix to earlier release?

This doesn't seem critical to backport.

Mandy




More information about the core-libs-dev mailing list