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

Remove HttpResponse.BodyHandlers.ofFile(Path) from banned method list in Java 21 signatures #225

Closed
uschindler opened this issue Mar 27, 2023 · 2 comments
Assignees
Labels
Milestone

Comments

@uschindler
Copy link
Member

Followup of #214, this method must be removed in signatures files for Java 21.

@uschindler uschindler self-assigned this Mar 27, 2023
@kwin
Copy link
Contributor

kwin commented Apr 15, 2023

Actually the fix is even backported to 17.0.7: https://bugs.openjdk.org/browse/JDK-8299353

@uschindler
Copy link
Member Author

uschindler commented Apr 15, 2023

That's fine, but it is still not recommend to use that function. Because if you develop a library you do not know which exact version java runs on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants