[ https://issues.apache.org/jira/browse/SLING-3878?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Edelson updated SLING-3878: ---------------------------------- Affects Version/s: Sling Models Implementation 1.0.0 > Request attributes injector should be able to handle parameterized types > ------------------------------------------------------------------------ > > Key: SLING-3878 > URL: https://issues.apache.org/jira/browse/SLING-3878 > Project: Sling > Issue Type: Bug > Components: Extensions > Affects Versions: Sling Models Implementation 1.0.0 > Reporter: Justin Edelson > Assignee: Justin Edelson > Labels: models > Fix For: Sling Models Implementation 1.0.8 > > > If you have an injected field with a paramterized type, e.g. > @Inject > private Iterator<Resource> someResources; > And then want that field injected using the request attribute injector, it > fails logging the message: > bq. BindingsInjector doesn't support non-class type {} > Obviously that error message is wrong (because it is the > RequestAttributeInjector), but it would be best if we could support > parameterized types here, even if it means an unsafe cast. -- This message was sent by Atlassian JIRA (v6.2#6252)