Skip to content

Fix reading of JSpecify @Nullable annotations from varargs parameter in bytecode - #1089

Merged
msridhar merged 5 commits into
masterfrom
issue-1088
Dec 12, 2024
Merged

msridhar merged 5 commits into
masterfrom
issue-1088

Conversation

@msridhar

Copy link
Copy Markdown
Contributor

Fixes #1088

We had correct code in one place for reading @NonNull annotations, but didn't use it for @Nullable. Get rid of the code duplication so we share the logic now.

@codecov

codecov Bot commented Dec 12, 2024 •

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.01%. Comparing base (35279f0) to head (c3954b9).
Report is 1 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #1089      +/-   ##
============================================
+ Coverage     87.99%   88.01%   +0.02%     
  Complexity     2228     2228              
============================================
  Files            85       85              
  Lines          7220     7212       -8     
  Branches       1432     1428       -4     
============================================
- Hits           6353     6348       -5     
+ Misses          438      436       -2     
+ Partials        429      428       -1     

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

@msridhar
msridhar enabled auto-merge (squash) December 12, 2024 21:04
@msridhar
msridhar merged commit cac2ed3 into master Dec 12, 2024
@msridhar
msridhar deleted the issue-1088 branch December 12, 2024 21:14
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.

False Positive when using JSpecify Nullable on varargs elements

2 participants