Skip to content

Fix issue with annotations in module-info.java files#1109

Merged
msridhar merged 1 commit intomasterfrom
module-info-assignment
Dec 22, 2024
Merged

Fix issue with annotations in module-info.java files#1109
msridhar merged 1 commit intomasterfrom
module-info-assignment

Conversation

@msridhar
Copy link
Copy Markdown
Collaborator

javac generates AssignmentTrees for assigning annotation attributes that, in the context of a module-info.java file, was causing a crash. Just skip analysis of such assignments.

@codecov
Copy link
Copy Markdown

codecov Bot commented Dec 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.10%. Comparing base (f17b330) to head (d922324).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##             master    #1109   +/-   ##
=========================================
  Coverage     88.10%   88.10%           
- Complexity     2208     2209    +1     
=========================================
  Files            84       84           
  Lines          7177     7179    +2     
  Branches       1425     1426    +1     
=========================================
+ Hits           6323     6325    +2     
  Misses          430      430           
  Partials        424      424           

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

@msridhar msridhar merged commit d0502e8 into master Dec 22, 2024
@msridhar msridhar deleted the module-info-assignment branch December 22, 2024 18:09
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.

2 participants