uber / NullAway

A tool to help eliminate NullPointerExceptions (NPEs) in your Java code with low build-time overhead
MIT License
3.62k stars 290 forks source link

Drop Java 8 support #961

Closed msridhar closed 3 months ago

msridhar commented 3 months ago

This PR drops support for running NullAway on a JDK 8 JVM. After it lands, running NullAway will require JDK 11 or above (like current versions of Error Prone). There are various cleanups that this change enables, but to keep the PR small, I tried to do close to the minimum. In particular:

We will have to change the required CI job names before landing this.

Will do other enabled cleanups in separate PRs.

codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 86.11%. Comparing base (5d3e264) to head (21b8999).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #961 +/- ## ============================================ - Coverage 86.12% 86.11% -0.01% Complexity 2040 2040 ============================================ Files 81 81 Lines 6708 6707 -1 Branches 1293 1293 ============================================ - Hits 5777 5776 -1 Misses 518 518 Partials 413 413 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.