Skip to content

Conversation

@aschackmull
Copy link
Contributor

Methods on subtypes arising from variance have different signatures depending on the instantiation, so that part of the subtype relation should not contribute to inheritance of methods. This fixes some weird-looking FPs for ConfusingOverloading where a subtype of Predicate<T> for a concrete type T had both test(T) and test(Object) where the latter was inherited transitively from Predicate<?>.

@aschackmull aschackmull requested a review from a team as a code owner November 13, 2018 14:15
@yh-semmle yh-semmle merged commit 50a905d into github:master Nov 14, 2018
@aschackmull aschackmull deleted the java/inherit-fix branch November 14, 2018 16:08
aschackmull added a commit to aschackmull/ql that referenced this pull request Nov 23, 2018
yh-semmle added a commit that referenced this pull request Nov 23, 2018
cklin pushed a commit that referenced this pull request May 23, 2022
Make comment on BarrierGuard more specific
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants