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

Adopt features from Java 11 #1381

Merged
merged 2 commits into from
Feb 5, 2025
Merged

Adopt features from Java 11 #1381

merged 2 commits into from
Feb 5, 2025

Conversation

timtebeek
Copy link
Contributor

@hcoles
Copy link
Owner

hcoles commented Feb 4, 2025

Thanks, it looks like changes have been applied to one of more of the classes pitest uses as a test input (hence the failing tests). These need to continue to use Java legacy apis.

@timtebeek timtebeek marked this pull request as draft February 4, 2025 14:26
@timtebeek timtebeek marked this pull request as ready for review February 4, 2025 20:04
@@ -24,7 +25,7 @@ public static String readToString(final InputStream is)

public static String randomFilename() {
return System.currentTimeMillis()
+ ("" + Math.random()).replaceAll("\\.", "");
+ ("" + ThreadLocalRandom.current().nextDouble()).replaceAll("\\.", "");
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hcoles hcoles merged commit b50fc19 into hcoles:master Feb 5, 2025
6 checks passed
@timtebeek timtebeek deleted the adopt-java-11 branch February 5, 2025 09:13
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