You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tamaya.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2019/08/25 19:37:01 UTC

[jira] [Commented] (TAMAYA-400) Use ThreadContext ClassLoader as default

    [ https://issues.apache.org/jira/browse/TAMAYA-400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16915328#comment-16915328 ] 

ASF subversion and git services commented on TAMAYA-400:
--------------------------------------------------------

Commit 1eb836caadbfa70c854fe5849a0d6fa86996602c in incubator-tamaya-site's branch refs/heads/vote-0.4-incubating-01 from Anatole Tresch
[ https://gitbox.apache.org/repos/asf?p=incubator-tamaya-site.git;h=1eb836c ]

TAMAYA-398 TAMAYA-399 TAMAYA-400 TAMAYA-401 TAMAYA-402 TAMAYA-403 TAMAYA-404 TAMAYA-405 TAMAYA-406 TAMAYA-407 Added/updated docs.


> 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
(v8.3.2#803003)