You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bval.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/11/15 20:30:01 UTC

[jira] [Commented] (BVAL-145) BVal bundle fails to load resources under OSGi

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

ASF GitHub Bot commented on BVAL-145:
-------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/bval/pull/2


> BVal bundle fails to load resources under OSGi
> ----------------------------------------------
>
>                 Key: BVAL-145
>                 URL: https://issues.apache.org/jira/browse/BVAL-145
>             Project: BVal
>          Issue Type: Bug
>          Components: jsr303
>    Affects Versions: 1.1.1
>         Environment: Karaf 4.0.5
>            Reporter: Ɓukasz Dywicki
>
> Current logic of resource lookups in bval rely on context class loader and when it is not present it fallbacks to classloader which loaded bval. This works perfectly fine for most of cases, but fails under OSGi because TCCL in many cases is set to boot loader which contains no information about running modules. For this reason bval fails to load jsr303 mappings and always returns empty validation result.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)