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

FileChannel/open expects a vararg of options #651

Closed
ddeaguiar opened this issue May 1, 2020 · 0 comments
Closed

FileChannel/open expects a vararg of options #651

ddeaguiar opened this issue May 1, 2020 · 0 comments
Labels
landed on master Change pushed to master, awaiting release

Comments

@ddeaguiar
Copy link
Contributor

Created to track fix in #650

Java FileChannel/open expects a variable argument of OpenOptions as the second paramenter. Passing a non-vararg OpenOption value, as was before this patch, throws an exception.

Reference: https://docs.oracle.com/javase/7/docs/api/java/nio/channels/FileChannel.html#open(java.nio.file.Path,%20java.nio.file.OpenOption...)

@ddeaguiar ddeaguiar added the landed on master Change pushed to master, awaiting release label May 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
landed on master Change pushed to master, awaiting release
Projects
None yet
Development

No branches or pull requests

1 participant