You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tamaya.apache.org by "Anatole Tresch (JIRA)" <ji...@apache.org> on 2019/05/13 23:58:00 UTC
[jira] [Updated] (TAMAYA-400) Use ThreadContext ClassLoader as
default
[ https://issues.apache.org/jira/browse/TAMAYA-400?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Anatole Tresch updated TAMAYA-400:
----------------------------------
Issue Type: Bug (was: New Feature)
> Use ThreadContext ClassLoader as default
> ----------------------------------------
>
> Key: TAMAYA-400
> URL: https://issues.apache.org/jira/browse/TAMAYA-400
> Project: Tamaya
> Issue Type: Bug
> Components: API, Core
> Reporter: Anatole Tresch
> Assignee: Anatole Tresch
> Priority: Major
> Fix For: 0.4-incubating
>
>
> Use the thread class loader as default classloader. This is necessary for correctly implement the Microprofile specs:
> {code:java}
> public static ClassLoader getDefaultClassLoader() {
> ClassLoader cl = Thread.currentThread().getContextClassLoader();
> if(cl==null) {
> cl = ServiceContextManager.class.getClassLoader();
> }
> return cl;
> }{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)