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

update google java format dependency #13700

Merged
merged 3 commits into from
Feb 7, 2022
Merged

Conversation

jsvd
Copy link
Member

@jsvd jsvd commented Feb 2, 2022

Versions of google-java-format 1.8 and above no longer depend on the gpl2 javac-shaded jar, so we can upgrade.

@jsvd
Copy link
Member Author

jsvd commented Feb 2, 2022

jenkins test this please

@jsvd
Copy link
Member Author

jsvd commented Feb 3, 2022

@elasticsearchmachine run elasticsearch-ci/docs

@jsvd jsvd marked this pull request as ready for review February 4, 2022 15:57
@jsvd jsvd requested a review from andsel February 7, 2022 11:06
Copy link
Contributor

@andsel andsel left a comment

Choose a reason for hiding this comment

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

LGTM

@jsvd jsvd merged commit 60af28a into elastic:main Feb 7, 2022
@jsvd jsvd deleted the update_google_java_format branch February 7, 2022 13:58
robbavey added a commit that referenced this pull request Mar 1, 2022
After #13700 updated google-java-format dependency, it is now required to add a number
of `--add-export` flags in order to run on JDK17. This commit adds these flags to the
jvm options for a running logstash, and to the tests running on gradle to enable tests
to still work
robbavey added a commit that referenced this pull request Mar 22, 2022
After #13700 updated google-java-format dependency, it is now required to add a number
of `--add-export` flags in order to run on JDK17. This commit adds these flags to the
jvm options for a running logstash, and to the tests running on gradle to enable tests
to still work
robbavey added a commit that referenced this pull request Mar 22, 2022
After #13700 updated google-java-format dependency, it is now required to add a number
of `--add-export` flags in order to run on JDK17. This commit adds these flags to the
jvm options for a running logstash, and to the tests running on gradle to enable tests
to still work
robbavey added a commit that referenced this pull request Mar 22, 2022
After #13700 updated google-java-format dependency, it is now required to add a number
of `--add-export` flags in order to run on JDK17. This commit adds these flags to the
jvm options for a running logstash, and to the tests running on gradle to enable tests
to still work
robbavey added a commit that referenced this pull request Mar 24, 2022
After #13700 updated google-java-format dependency, it is now required to add a number
of `--add-export` flags in order to run on JDK17. This commit adds these flags to the
jvm options for a running logstash, and to the tests running on gradle to enable tests
to still work
robbavey added a commit that referenced this pull request Mar 24, 2022
…13825)

* [Java17] Add `--add-export` settings to restore JDK17 compatibility

After #13700 updated google-java-format dependency, it is now required to add a number
of `--add-export` flags in order to run on JDK17. This commit adds these flags to the
jvm options for a running logstash, and to the tests running on gradle to enable tests
to still work

* Move mandatory JVM options out of `jvm.options` and into JvmOptionsParser

Certain values for the JVM are mandatory for Logstash to function correctly. Rather than
leave them in config/jvm.options where they can be updated, and can cause upgrade issues
for users when we add new mandatory options, move them into code where they cannot be
changed
@jsvd jsvd added the v8.2.0 label Apr 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants