Skip to content

Conversation

@xvrl
Copy link
Member

@xvrl xvrl commented Mar 4, 2022

The latest version of Error Prone now requires Java 11. Upgrading means we can
remove a lot of the maven profile complexity required to run checks with Java 8.
This also requires switching our strict build to use Java 11.

I don't think we really lose much by not checking with Java 8, and it helps us
future-proof as we officially start supporting more recent Java versions.

@xvrl xvrl requested a review from gianm March 4, 2022 18:54
@xvrl xvrl force-pushed the upgrade-error-prone branch from c06600c to 34308c5 Compare March 4, 2022 21:55
@xvrl xvrl requested review from clintropolis and jihoonson March 4, 2022 21:56
Copy link
Member

@clintropolis clintropolis left a comment

Choose a reason for hiding this comment

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

👍

not sure why the tests failed last time, i retriggered the relevant ones (no need to run through all integration tests for this change I think)

@xvrl xvrl merged commit 5d02a91 into apache:master Mar 15, 2022
@xvrl xvrl deleted the upgrade-error-prone branch March 15, 2022 02:40
TSFenwick pushed a commit to TSFenwick/druid that referenced this pull request Apr 11, 2022
The latest version of Error Prone now requires Java 11. Upgrading means we can
remove a lot of the maven profile complexity required to run checks with Java 8.
This also requires switching our strict build to use Java 11.

* update error-prone to 2.11
* remove need for specific maven profiles for Java 8 and Java 15
* fix additional Error Prone warnings with Java 11
* update strict build to use Java 11
@abhishekagarwal87 abhishekagarwal87 added this to the 0.23.0 milestone May 11, 2022
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