RFR: 8249783: Simplify DerValue and DerInputStream [v2]
Weijun Wang
weijun at openjdk.java.net
Tue Sep 29 05:34:57 UTC 2020
On Tue, 29 Sep 2020 03:59:40 GMT, Valerie Peng <valeriep at openjdk.org> wrote:
>> I'll look into it. If there's anything wrong, will fix and add a regression test. What if there is zero bit?
>>
>> And yes, the old exception message is better. Don't know why I modified it.
>
> 0-bit BitArray? Maybe no need for this scenario? Just my wild guess. Keep the same existing behavior is fine.
It does exist. Sometimes the least number of bits should be encoded and therefore empty if all zero.
-------------
PR: https://git.openjdk.java.net/jdk/pull/232
More information about the security-dev
mailing list