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 condition to check JVM version for illegal-access switch #5279

Merged
merged 1 commit into from
Nov 16, 2022
Merged

Add condition to check JVM version for illegal-access switch #5279

merged 1 commit into from
Nov 16, 2022

Conversation

adnapibar
Copy link
Contributor

Description

This switch is removed in JDK version 17. JEP https://openjdk.org/jeps/403

Check List

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
    • New functionality has javadoc added
  • Commits are signed per the DCO using --signoff
  • Commit changes are listed out in CHANGELOG.md file (See: Changelog)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Rabi Panda [email protected]

This switch is removed in JDK version 17. https://openjdk.org/jeps/403

Signed-off-by: Rabi Panda <[email protected]>
@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

  • RESULT: null ❌
  • FAILURES:

@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

@adnapibar adnapibar merged commit fa6d36d into opensearch-project:main Nov 16, 2022
@adnapibar adnapibar deleted the jvm-illegal-acess branch November 16, 2022 18:43
reta pushed a commit to reta/OpenSearch that referenced this pull request Oct 30, 2023
reta pushed a commit to reta/OpenSearch that referenced this pull request Nov 10, 2023
reta added a commit that referenced this pull request Nov 14, 2023
* Update bundled JDK to JDK-21.0.1 (#10576)

Signed-off-by: Andriy Redko <[email protected]>
(cherry picked from commit 0d7d1e9)
Signed-off-by: Andriy Redko <[email protected]>

* Add condition to check JVM version for illegal-access switch (#5279)

This switch is removed in JDK version 17. https://openjdk.org/jeps/403

Signed-off-by: Rabi Panda <[email protected]>

* Check for JDK version while setting java.security.manager option (#5205)

Signed-off-by: Rabi Panda <[email protected]>

* Fix tests and test skaffolding

Signed-off-by: Andriy Redko <[email protected]>

---------

Signed-off-by: Andriy Redko <[email protected]>
Signed-off-by: Rabi Panda <[email protected]>
Co-authored-by: Rabi Panda <[email protected]>
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.

3 participants