micrometer-metrics/micrometer
View on GitHubRemove @NullUnmarked workaround for NullAway bug on generic types
Open
#6,404 opened on Jun 14, 2025
help wantednullabilitypolishtype: task
Repository metrics
- Stars
- (4,220 stars)
- PR merge metrics
- (Avg merge 1d 21h) (100 merged PRs in 30d)
Description
It seems <T extends @Nullable Object> does not work well in some situations, see https://github.com/uber/NullAway/issues/1075.
Because of this bug in NullAway, we need to use @NullUnmarked and "invert" the contract unnecessarily, see here and here.