[cdi-dev] [JBoss JIRA] (CDI-725) SeInitializer should have an addPackage(boolean, String)

Romain Manni-Bucau (JIRA) issues at jboss.org
Mon May 21 15:27:00 EDT 2018


Romain Manni-Bucau created CDI-725:
--------------------------------------

             Summary: SeInitializer should have an addPackage(boolean, String)
                 Key: CDI-725
                 URL: https://issues.jboss.org/browse/CDI-725
             Project: CDI Specification Issues
          Issue Type: Feature Request
          Components: Java SE Integration
    Affects Versions: 2.0 .Final
            Reporter: Romain Manni-Bucau


For now addPackage uses Package or Class parameter. Class parameter is not great because there are packages without anything except other packages and Package is pretty strict for several use cases because it can't be created programmatically and requires a class to get an instance.

Since all implementations convert the Package instance to a String to load it, it would be very helpful to add it directly in the API IMHO.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the cdi-dev mailing list