[ 
https://issues.apache.org/jira/browse/BVAL-52?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Carlos Vara updated BVAL-52:
----------------------------

    Attachment: bval-jsr303-52.patch

Upgraded patch:
- For additional resource files referred inside XML files, starting "/" char is 
removed, as the classloader fails with an absolute path. This one was a bug 
AFAIK.

10 more standalone tests pass, only 10 to go.

> ValidationParser.getInputStream() should call getResourceAsStream() for TCK 
> suite to work
> -----------------------------------------------------------------------------------------
>
>                 Key: BVAL-52
>                 URL: https://issues.apache.org/jira/browse/BVAL-52
>             Project: BeanValidation
>          Issue Type: Improvement
>          Components: jsr303
>    Affects Versions: 0.1-incubating
>            Reporter: Carlos Vara
>             Fix For: 0.1-incubating
>
>         Attachments: bval-jsr303-52.patch
>
>
> Not really a bug here (current implementation is fine), but when running 
> standalone, the TCK overloads the classloader with a custom one that 
> overrides getResourceAsStream but does not give functionality to 
> getResources().
> I changed our getInputStream() impl to work properly under the TCK while 
> keeping the same functionality.
> Good news is 10 more TCK tests pass in standalone mode :-)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to