bval-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Benson (JIRA)" <>
Subject [jira] [Closed] (BVAL-145) BVal bundle fails to load resources under OSGi
Date Thu, 18 Oct 2018 15:24:01 GMT


Matt Benson closed BVAL-145.

> BVal bundle fails to load resources under OSGi
> ----------------------------------------------
>                 Key: BVAL-145
>                 URL:
>             Project: BVal
>          Issue Type: Bug
>          Components: jsr303
>    Affects Versions: 1.1.1
>         Environment: Karaf 4.0.5
>            Reporter: Ɓukasz Dywicki
>            Priority: Major
> 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

View raw message