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

Workaround for JDK 14 EA FileChannel.map issue #50523

Conversation

henningandersen
Copy link
Contributor

FileChannel.map provokes static initialization of ExtendedMapMode in
JDK14 EA, which needs elevated privileges.

Submitted a bug report to the JDK for this.

Relates #50512

FileChannel.map provokes static initialization of ExtendedMapMode in
JDK14 EA, which needs elevated privileges.

Relates elastic#50512
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (:Core/Infra/Core)

Copy link
Contributor

@ywelsch ywelsch left a comment

Choose a reason for hiding this comment

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

LGTM

@henningandersen henningandersen merged commit c7fd24c into elastic:master Jan 6, 2020
henningandersen added a commit that referenced this pull request Jan 6, 2020
FileChannel.map provokes static initialization of ExtendedMapMode in
JDK14 EA, which needs elevated privileges.

Relates #50512
henningandersen added a commit that referenced this pull request Jan 6, 2020
FileChannel.map provokes static initialization of ExtendedMapMode in
JDK14 EA, which needs elevated privileges.

Relates #50512
henningandersen added a commit that referenced this pull request Jan 6, 2020
FileChannel.map provokes static initialization of ExtendedMapMode in
JDK14 EA, which needs elevated privileges.

Relates #50512
henningandersen added a commit to henningandersen/elasticsearch that referenced this pull request Jan 22, 2020
SivagurunathanV pushed a commit to SivagurunathanV/elasticsearch that referenced this pull request Jan 23, 2020
FileChannel.map provokes static initialization of ExtendedMapMode in
JDK14 EA, which needs elevated privileges.

Relates elastic#50512
henningandersen added a commit that referenced this pull request Jan 23, 2020
)

This reverts commit c7fd24c.

Now that JDK-8236582 is fixed in JDK 14 EA, we can revert the workaround.

Relates #50523 and #50512
henningandersen added a commit that referenced this pull request Jan 23, 2020
)

This reverts commit c7fd24c.

Now that JDK-8236582 is fixed in JDK 14 EA, we can revert the workaround.

Relates #50523 and #50512
henningandersen added a commit that referenced this pull request Jan 23, 2020
)

This reverts commit c7fd24c.

Now that JDK-8236582 is fixed in JDK 14 EA, we can revert the workaround.

Relates #50523 and #50512
henningandersen added a commit that referenced this pull request Jan 23, 2020
)

This reverts commit c7fd24c.

Now that JDK-8236582 is fixed in JDK 14 EA, we can revert the workaround.

Relates #50523 and #50512
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants