Skip to content

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

Merged
adnapibar merged 1 commit intoopensearch-project:mainfrom
adnapibar:jvm-illegal-acess
Nov 16, 2022
Merged

Add condition to check JVM version for illegal-access switch#5279
adnapibar merged 1 commit intoopensearch-project:mainfrom
adnapibar:jvm-illegal-acess

Conversation

@adnapibar
Copy link
Copy Markdown
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 adnapibar@gmail.com

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

Signed-off-by: Rabi Panda <adnapibar@gmail.com>
@adnapibar adnapibar requested review from a team and reta as code owners November 16, 2022 06:52
@github-actions
Copy link
Copy Markdown
Contributor

Gradle Check (Jenkins) Run Completed with:

  • RESULT: null ❌
  • FAILURES:

@github-actions
Copy link
Copy Markdown
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
…rch-project#5279)

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

Signed-off-by: Rabi Panda <adnapibar@gmail.com>
reta pushed a commit to reta/OpenSearch that referenced this pull request Nov 10, 2023
…rch-project#5279)

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

Signed-off-by: Rabi Panda <adnapibar@gmail.com>
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 <andriy.redko@aiven.io>
(cherry picked from commit 0d7d1e9)
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>

* 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 <adnapibar@gmail.com>

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

Signed-off-by: Rabi Panda <adnapibar@gmail.com>

* Fix tests and test skaffolding

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>

---------

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
Signed-off-by: Rabi Panda <adnapibar@gmail.com>
Co-authored-by: Rabi Panda <adnapibar@gmail.com>
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