Update from 2.15.1/Java 0.8.1 to 2.16.4/Java 0.8.10 #36
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This small dependency update was a bit of a nightmare.
Instructions I left for myself in this repo were mostly fine (note #35), except that https://github.com/github/codeql/releases/tag/codeql-cli%2Fv2.16.4 is not (yet) on
main
so the links in the docs show 0.8.9 as the latest Java lib onmain
. No clue how upstream managed those branches, for now I removed some comments and let the steps in #35 take care of that in the future.Worse were the deprecations that show up as test failures.
MethodAccess
toMethodCall
was easy to find: https://github.com/github/codeql/blob/9aefdca7a7d7866b12e171df63f6666a253130c9/java/ql/lib/semmle/code/java/Expr.qll#L2109-L2110