Fails to load META-INF/services provider configuration files on non-ASCII platforms
------------------------------------------------------------------------------------
Key: BVAL-236
URL:
http://opensource.atlassian.com/projects/hibernate/browse/BVAL-236
Project: Bean Validation
Issue Type: Bug
Components: ri-general - obsolete go to HValidator
Affects Versions: 1.0 final
Reporter: Paul Vonnahme
I'm not sure if this is the correct place for this issue, but I didn't see
anything under HValidator about ri. This bug exists in the maven artifact
<dependency>
<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
<version>1.0.0.GA</version>
</dependency>
If there is a newer version that fixes this bug I apologize. In any case, in the jar
above, the issue occurs in
javax.validation.Validation$DefaultValidationProviderResolver.getValidationProviders
Line 322 has:
BufferedReader reader = new BufferedReader( new InputStreamReader( stream ), 100 );
but I believe it should be:
BufferedReader reader = new BufferedReader( new InputStreamReader( stream,
"UTF-8"), 100 );
In order to work on non-ASCII platforms (EBCDIC in my case)
Provider-Configuration File
A service provider identifies itself... The file must be encoded in UTF-8.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira