Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support variable resolution of wildcard types #24145

Merged
merged 1 commit into from Dec 6, 2019

Commits on Dec 5, 2019

  1. Support variable resolution of wildcard types

    Update `ResolvableType` so that variable referenced can be resolved
    against wildcard types. Prior to this commit, given a type:
    
    	Map<String, ? extends List<? extends CharSequence>>
    
    Calling `type.getGeneric(1).asCollection().resolveGeneric()` would
    return `null`. This was because the `List` variable `E` referenced a
    wildcard type which `resolveVariable` did not support.
    
    Closes spring-projectsgh-24145
    philwebb committed Dec 5, 2019
    Copy the full SHA
    746ac8a View commit details
    Browse the repository at this point in the history