8263754: HexFormat 'fromHex' methods should be static #3205
A number of HexFormat methods converting from strings to numbers do not use delimiter, prefix, suffix, and uppercase parameters and would be more convenient if the methods were static.
These APIs were added early in JDK 17 and are being updated before GA.
public boolean isHexDigit(int);
To checkout this PR locally:
To update a local copy of the PR:
@RogerRiggs has indicated that a compatibility and specification (CSR) request is needed for this pull request.
cl4es left a comment
I like the direction. There are a number of orphaned HexFormat instances that can be cleaned up. I might have missed a few.
Do you intend to do the same thing with the toHexDigit methods?
@RogerRiggs This change now passes all automated pre-integration checks.
After integration, the commit message for the final commit will be:
At the time when this comment was updated there had been 13 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details.
@RogerRiggs Since your change was applied there have been 42 commits pushed to the
Your commit was automatically rebased without conflicts.
Pushed as commit 8cf1c62.