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

improve test compatibility with Java 17 and remove deprecated methods #12341

Merged
merged 4 commits into from
Mar 18, 2022

Conversation

xvrl
Copy link
Member

@xvrl xvrl commented Mar 17, 2022

  • remove use of reflection in EnvironmentVariableDynamicConfigProvider for Java 17 compatibility
  • fix mocks mock objects not getting closed properly, causing issues with Java 17
  • remove use of deprecated methods and rules in tests

@xvrl xvrl merged commit c33fa11 into apache:master Mar 18, 2022
@xvrl xvrl deleted the fix-mock-stuff branch March 18, 2022 15:19
xvrl added a commit that referenced this pull request Mar 19, 2022
follow-up to #12341
- fix use of deprecated initMocks methods and properly close mocks on teardown
TSFenwick pushed a commit to TSFenwick/druid that referenced this pull request Apr 11, 2022
…apache#12341)

* remove use of reflection in EnvironmentVariableDynamicConfigProvider for Java 17 compatibility
* fix mocks mock objects not getting closed properly, causing issues with Java 17
* remove use of deprecated methods and rules in tests
TSFenwick pushed a commit to TSFenwick/druid that referenced this pull request Apr 11, 2022
follow-up to apache#12341
- fix use of deprecated initMocks methods and properly close mocks on teardown
@abhishekagarwal87 abhishekagarwal87 added this to the 0.23.0 milestone May 11, 2022
writer-jill pushed a commit to writer-jill/druid that referenced this pull request Jun 22, 2022
…apache#12341)

* remove use of reflection in EnvironmentVariableDynamicConfigProvider for Java 17 compatibility
* fix mocks mock objects not getting closed properly, causing issues with Java 17
* remove use of deprecated methods and rules in tests
writer-jill pushed a commit to writer-jill/druid that referenced this pull request Jun 22, 2022
follow-up to apache#12341
- fix use of deprecated initMocks methods and properly close mocks on teardown
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