8000 Fix: issue 4697 Updating the com.google.guava:guava dependency to v334.5-jre fails. by jlerbsc · Pull Request #4711 · javaparser/javaparser · GitHub
[go: up one dir, main page]

Skip to content

Conversation

jlerbsc
Copy link
Collaborator
@jlerbsc jlerbsc commented Apr 4, 2025

Fixes #4697 .

Since version 33.4.0-jre the checker-framework library is no longer ported by the guava project. This causes compilation errors when using certain annotations. To correct the errors, it must be added as a dependency of the project. This is a temporary solution as the JP project is trying to free itself as much as possible from external dependencies.
As for the CheckForNull annotation, which doesn't belong to the checker-qual library, I've simply chosen to remove it from the code rather than add yet another dependency.

Copy link
codecov bot commented Apr 4, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 58.200%. Comparing base (0d7c557) to head (0f532cf).
Report is 3 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##              master     #4711   +/-   ##
===========================================
  Coverage     58.200%   58.200%           
  Complexity      2499      2499           
===========================================
  Files            670       670           
  Lines          38721     38721           
  Branches        7023      7023           
===========================================
  Hits           22536     22536           
  Misses         13294     13294           
  Partials        2891      2891           
Flag Coverage Δ
AlsoSlowTests 58.200% <ø> (ø)
javaparser-core 58.200% <ø> (ø)
javaparser-symbol-solver 58.200% <ø> (ø)
jdk-10 57.751% <ø> (ø)
jdk-11 57.751% <ø> (ø)
jdk-12 57.751% <ø> (ø)
jdk-13 57.751% <ø> (ø)
jdk-14 57.999% <ø> (ø)
jdk-15 57.999% <ø> (ø)
jdk-16 57.973% <ø> (ø)
jdk-17 58.128% <ø> (ø)
jdk-18 58.128% <ø> (ø)
jdk-8 57.752% <ø> (ø)
jdk-9 57.749% <ø> (ø)
macos-latest 58.193% <ø> (ø)
ubuntu-latest 58.188% <ø> (ø)
windows-latest 58.182% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
...vaparser/symbolsolver/cache/DefaultCacheStats.java 0.000% <ø> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 27a47f8...0f532cf. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jlerbsc jlerbsc merged commit 83bc787 into javaparser:master Apr 4, 2025
35 checks passed
@jlerbsc jlerbsc added this to the next release milestone Apr 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Updating the com.google.guava:guava dependency to v33.4.5-jre fails.

1 participant

0