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

Add HttpResponse.BodyHandlers.ofFile(Path) to banned method lists (buggy) #214

Closed
dweiss opened this issue Dec 19, 2022 · 2 comments
Closed
Assignees
Milestone

Comments

@dweiss
Copy link
Contributor

dweiss commented Dec 19, 2022

Eh. Perhaps worth adding to forbidden method list with a comment saying it's likely buggy in whatever JDK one is using:
https://bugs.openjdk.org/browse/JDK-8299015

@uschindler
Copy link
Member

Hey, let me see. Of course it will be fixed in 21, so we need some trick there to undo the addition (it reads signatures incrementally).

I added this method to the Java 11 unsafe methods. I will think about a solution for 21.

@uschindler
Copy link
Member

See this commit: 020f4cb

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

No branches or pull requests

2 participants