• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

uber / NullAway / #691
93%

Build:
DEFAULT BRANCH: master
Ran 10 Jan 2022 06:36PM UTC
Jobs 1
Files 55
Run time 10s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
#691

push

github-actions

web-flow
Better fix for crash on member selects inside module-info.java (#544)

Now, in `matchMemberSelectTree()`, we check if the `MemberSelectTree` represents a reference to a module.  If it does, we do not check if its base expression could be `null`.  This change gives us a stronger invariant in `mayBeNullExpr()`: any `IdentifierTree` or `MemberSelectTree` passed to `mayBeNullExpr()` should have a non-null symbol.  We explicitly check this to help us flag any future weird cases more easily.

Unfortunately, to maintain JDK 8 compatibility, the check for whether a `MemberSelectTree` represents a module requires reflection.  Testing did not reveal any significant performance impact.  If / when NullAway requires JDK 11, we can and should get rid of the reflection.

Code coverage is reduced due to the new runtime checks for (hopefully) impossible cases in `mayBeNullExpr()`.

Fixes #533

4119 of 4597 relevant lines covered (89.6%)

0.9 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #691.1 10 Jan 2022 06:36PM UTC 0
89.6
Source Files on build #691
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #691
  • 232f344c on github
  • Prev Build on master
  • Next Build on master
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc