RFR: jsr166 jdk10 integration wave 5
Martin Buchholz
martinrb at google.com
Wed Nov 8 02:35:36 UTC 2017
On Mon, Nov 6, 2017 at 5:33 PM, David Holmes <david.holmes at oracle.com>
wrote:
> On 7/11/2017 8:17 AM, Martin Buchholz wrote:
>
>> Thanks for the review!
>>
>> On Mon, Nov 6, 2017 at 1:36 PM, David Holmes <david.holmes at oracle.com
>> <mailto:david.holmes at oracle.com>> wrote:
>>
>>
>> 8189764: Miscellaneous changes imported from jsr166 CVS 2017-11
>>
>>
>> All seem okay. Though I'm curious about the changes from
>> "catch(Throwable" to "catch(Exception" ?
>>
>>
>> There's a half-hearted attempt to appease
>> http://errorprone.info/bugpattern/TryFailThrowable
>> No actual bugs were fixed.
>>
>
> Hmmm. Not sure I see a problem if threadUnexpectedException just wraps and
> rethrows the original exception. On the other hand Errors are no longer
> being handled this way. Probably doesn't make a difference either way.
>
Yes, probably doesn't make a difference either way. These TryFailThrowable
<http://errorprone.info/bugpattern/TryFailThrowable> warnings just don't
have enough value, so they are all reverted back to catch (Throwable).
More information about the core-libs-dev
mailing list