Description
Because it checks null value wrongly:
public static boolean isBigIntTypeCompatible(final Object value) { return value == null && (value instanceof BigInteger || value instanceof Long); }
should be:
public static boolean isBigIntTypeCompatible(final Object value) { // We need something similar to isIntegral, but the value can be larger than the max long. return isNumberTypeCompatible(value, s -> somethingSimilarToIsIntegral(s)) }
Attachments
Issue Links
- links to