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

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

Commit bc806ff3e608bd5077bce22a5915ac801ac8c306 in 
incubator-tamaya-extensions's branch refs/heads/master from Anatole Tresch
[ 
https://gitbox.apache.org/repos/asf?p=incubator-tamaya-extensions.git;h=bc806ff 
]

TAMAYA-398 TAMAYA-399 TAMAYA-400 TAMAYA-401 TAMAYA-402 TAMAYA-403 TAMAYA-404 
TAMAYA-405 TAMAYA-406 TAMAYA-407 Implemented MP 1.3 spec.


> 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)

Reply via email to