Skip to content

Deprecate Hex in favor of java.util.HexFormat#19023

Open
therepanic wants to merge 1 commit intospring-projects:mainfrom
therepanic:gh-16867
Open

Deprecate Hex in favor of java.util.HexFormat#19023
therepanic wants to merge 1 commit intospring-projects:mainfrom
therepanic:gh-16867

Conversation

@therepanic
Copy link
Copy Markdown
Contributor

The main point is that java.util.HexFormat essentially does the same thing as our Hex. We had a similar candidate with Base and deprecated it in favor of java.util.Base64. Moreover, we've already removed it: therepanic@2f53a2e.

Closes: gh-16867

The main point is that java.util.HexFormat essentially does the same
thing as our Hex. We had a similar candidate with Base and deprecated it
in favor of java.util.Base64. Moreover, we've already removed it:
2f53a2e.

Closes: spring-projectsgh-16867

Signed-off-by: Andrey Litvitski <andrey1010102008@gmail.com>
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Apr 2, 2026
@therepanic
Copy link
Copy Markdown
Contributor Author

If we are satisfied with this, I can create an issue with a fix where we will replace all usage with the new Java 17 api.

@therepanic therepanic changed the title Deprecate Hex in favor of java.util.HexFormat Deprecate Hex in favor of java.util.HexFormat Apr 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: waiting-for-triage An issue we've not yet triaged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Deprecate org.springframework.security.crypto.codec.Hex

2 participants