ucr-riple / NullAwayAnnotator

A tool to help adapting code bases to NullAway type system.
MIT License
13 stars 6 forks source link

Set language level to 17 in java parser and upgrade the dependency #223

Closed nimakarimipour closed 8 months ago

nimakarimipour commented 9 months ago

Fixes #88

This PR sets parser configuration to 17 to enable Annotator to work on source code written in java 17.

To support java 17 sources, we are only required to update java parser configuration, no change in core implementation is required.

Our default java version for publishing/compiling/testing is 11. This PR adds a CI job (named parser-coinfiguration-17) to specifically execute tests in Java17Test with java version 17.

Please note this PR also upgrades javaparser dependency to 3.25.7.