You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Matt Sicker (Jira)" <ji...@apache.org> on 2020/02/16 18:52:00 UTC

[jira] [Created] (LOG4J2-2783) PluginService should use a list of Class references instead of names

Matt Sicker created LOG4J2-2783:
-----------------------------------

             Summary: PluginService should use a list of Class references instead of names
                 Key: LOG4J2-2783
                 URL: https://issues.apache.org/jira/browse/LOG4J2-2783
             Project: Log4j 2
          Issue Type: Improvement
          Components: Plugins
    Affects Versions: 3.0.0
            Reporter: Matt Sicker
             Fix For: 3.0.0


The {{PluginService}} class can be updated to return a list of plugin entries that refer directly to the {{Class<?>}} instances rather than their class names. This would avoid the need to lazily load classes, avoids problems with module systems, and prevents the use of optional dependencies which makes it much easier to write proper JPMS-compatible modules.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)