On Tue, 29 Sep 2020 03:59:40 GMT, Valerie Peng <valer...@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