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

Only use NOSHARE_DELETE if accessible #7304

Merged
merged 1 commit into from Aug 15, 2022

Conversation

headius
Copy link
Member

@headius headius commented Aug 11, 2022

The NOSHARE_DELETE ExtendedOption is not always available on all
systems, since it is part of a com.sun package that's not a public
API on recent JDKs. This commit guards its use, falling back on
the default NIO behavior of SHARE_DELETE when we can't access the
sole option that would turn it off.

Fixes #7268

The NOSHARE_DELETE ExtendedOption is not always available on all
systems, since it is part of a com.sun package that's not a public
API on recent JDKs. This commit guards its use, falling back on
the default NIO behavior of SHARE_DELETE when we can't access the
sole option that would turn it off.

Fixes jruby#7268
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.

None yet

1 participant