RFR: 8297065: DerOutputStream operations should not throw IOExceptions
Weijun Wang
weijun at openjdk.org
Wed Nov 23 14:08:33 UTC 2022
On Wed, 23 Nov 2022 12:40:45 GMT, Weijun Wang <weijun at openjdk.org> wrote:
>> src/java.base/share/classes/sun/security/x509/CRLExtensions.java line 151:
>>
>>> 149:
>>> 150: DerOutputStream tmp = new DerOutputStream();
>>> 151: if (isExplicit)
>>
>> Use curley braces.
>
> I'll do. This is new code.
I just went through 17 such cases. Each of them is actually old code that was inside a try-catch block. I feel hesitated to update them. Keep them untouched is actually easier for code review.
-------------
PR: https://git.openjdk.org/jdk/pull/11302
More information about the security-dev
mailing list