[
https://issues.apache.org/jira/browse/DELTASPIKE-793?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14231335#comment-14231335
]
Charlie Mordant commented on DELTASPIKE-793:
--------------------------------------------
Spi-Fly fails to enhance this class due to the fallback call.
May be it should be better to patch it instead of DS anyway...
> Remove Classloader references in
> /org/apache/deltaspike/core/util/ServiceUtils
> -------------------------------------------------------------------------------
>
> Key: DELTASPIKE-793
> URL: https://issues.apache.org/jira/browse/DELTASPIKE-793
> Project: DeltaSpike
> Issue Type: Wish
> Reporter: Charlie Mordant
> Priority: Minor
>
> Reference to the current classloader is not so good in a modular environment
> (e.g. OSGI).
> It is for example impossible to dynamically contribute to Config source and
> configsourceresolver if we're not in the same classpath as deltaspike-core,
> which is not an easy task (and a poor design).
> Removing reference to the current classloader would help as their exist some
> tools (i.e. Aries Spi-Fly) that can weave serviceloader calls to make them
> OSGI compatible.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)