JDK 9 RFR of 4026465: Provide more byte array constructors for BigInteger
Brian Burkhalter
brian.burkhalter at oracle.com
Tue Jan 6 00:41:18 UTC 2015
Hi Joe,
The logic differs because one of the cases does not allow for zero length whereas the other does.
Thanks,
Brian
On Jan 5, 2015, at 3:58 PM, Joseph D. Darcy <joe.darcy at oracle.com> wrote:
> The new version looks fine. One suggestion to consider: creating a small private helper method to do the len, off, array-length check. (The two copies of the logic are slightly different.)
More information about the core-libs-dev
mailing list