Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(javareach): Various improvements #1663

Merged
merged 4 commits into from
Feb 26, 2025
Merged

feat(javareach): Various improvements #1663

merged 4 commits into from
Feb 26, 2025

Conversation

oliverchang
Copy link
Collaborator

@oliverchang oliverchang commented Feb 25, 2025

  • Better handle Spring Boot applications by mapping classes in BOOT-INF/classes to the root application, so that we can apply our AssumeAllClassesReachable strategy for dealing with dependency injection.

  • Handle service providers in META-INF/services/

  • Handle META-INF/versions/ directories when building our class -> artifact map.

  • Fix some bugs in our class finding by properly handling inner classes and generics.

  • Add a log line printing out some final metrics on reachability.

- Map classes in BOOT-INF/classes to the root application, so that we can
apply our `AssumeAllClassesReachable` strategy for dealing with
dependency injection.

- Handle META-INF/versions/ directories when building our class ->
  artifact map.
@oliverchang oliverchang requested a review from cuixq February 25, 2025 05:56
@codecov-commenter
Copy link

codecov-commenter commented Feb 25, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 64.54%. Comparing base (f6024a9) to head (7572fe1).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1663      +/-   ##
==========================================
- Coverage   64.56%   64.54%   -0.02%     
==========================================
  Files         155      155              
  Lines       15997    15997              
==========================================
- Hits        10329    10326       -3     
- Misses       4984     4986       +2     
- Partials      684      685       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@oliverchang oliverchang changed the title feat(javareach): Better handle Spring Boot applications. feat(javareach): Various improvements Feb 25, 2025
@oliverchang oliverchang requested a review from hogo6002 February 26, 2025 00:02
@oliverchang oliverchang merged commit 4ef1b47 into main Feb 26, 2025
15 checks passed
@oliverchang oliverchang deleted the reach-3 branch February 26, 2025 00:31
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.

3 participants