RFR: 8251989: Hex formatting and parsing utility [v14]

Roger Riggs rriggs at openjdk.java.net
Wed Dec 2 14:25:04 UTC 2020


On Wed, 2 Dec 2020 11:14:18 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:

>> Roger Riggs has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Increased memory to 4G for the test and add diagnostic info for OOME
>
> Changes requested by dfuchs (Reviewer).

@dfuch I'll add a clarification.
The fromHexDigits methods explicitly parse using the fromHexDigit method that is specified to include both upper and lower case.
> I was mostly concerned with the public methods that follow.
( public int fromHexDigits(CharSequence string) and friends)
They all say that * The delimiter, prefix and suffix are not used. but they do not say anything about upperCase/lowerCase. Since this is normative specification doesn't it need to be fixed?

-------------

PR: https://git.openjdk.java.net/jdk/pull/482


More information about the core-libs-dev mailing list