-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[null] Incomplete handling of @NonNullByDefault - fixes #682
+ applying @NNBD to a type parameter needs to know, whether on demand resolving has already happened (to detect explicit null annotations) - ASTNode.resolveAnnotations - STB.maybeMarkTypeParametersNonNull + better distinction if null tag bits result from @NNBD or explicit anno - ASTNode.mergeAnnotationsIntoType - may now report redundance - fix withdrawal of contradiction null annots after these changes + more detection of redundance below @NNBD - TypeParameter.resolveAnnotations - TypeReference.resolveAnnotations - one focus on annots on dimensions - MethodBinding.fillInDefaultNonNullness18 - less reporting here - ProblemReporter.nullAnnotationIsRedundant - 2 more overloads - fine tuning of error positions + be careful not to apply @NNBD to typevar (when using TYPE_USE) - new methods {Scope,STB}.hasDefaultNullnessForType() + expect redundance warning in may more tests - NullTypeAnnotationTest - NullAnnotationBatchCompilerTest + ignore newly reported warnings in other tests: - IncrementalTests18.testBug483744_remove - ExternalAnnotations18Test (several) + new tests from Bugs 522142 and 499596
- Loading branch information
1 parent
04d7a00
commit 422a9b5
Showing
17 changed files
with
522 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.