Darran Lofthouse created ELY-809:
------------------------------------
Summary: Specific Types for functional interfaces with generic types
Key: ELY-809
URL:
https://issues.jboss.org/browse/ELY-809
Project: WildFly Elytron
Issue Type: Enhancement
Components: API / SPI
Reporter: Darran Lofthouse
Assignee: Darran Lofthouse
Fix For: 1.1.0.Beta17
Using MSC and WildFly Core's Capabilities and Requirements support there is a limit as
to how far we can go with generic and maintain type safety.
For any type returned by a factory method we should have a type that extends from the
functional interface with the geeneric types specified e.g.
{code}
ProvidersSupplier extends Supplier<Provider[]>
{code}
Code that depends on this can still depend on Supplier<Provider[]>
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)