Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to Java 21 requirements #174

Closed
wants to merge 1 commit into from
Closed

Upgrade to Java 21 requirements #174

wants to merge 1 commit into from

Conversation

lemosfo
Copy link

@lemosfo lemosfo commented Apr 20, 2024

In Java 21, the Thread/sleep method has a new signature. Now, it's possible to send the sleep time using a long value or using a Duration object. It can cause errors when a service migrates to Java 21 depending the way the function is called.

To prevent this problem, we are creating this PR with the fix for this problem. It should continue work as expected in previous Java versions, but avoid problem when running in Java versions >= 19.

Please, merge this PR asap.

In case of doubt, please contact us at #systems-performance Slack channel.

Thanks!

@lemosfo lemosfo requested a review from a team as a code owner April 20, 2024 03:00
@VitorF VitorF closed this Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants