]
Hardy Ferentschik commented on BVAL-236:
----------------------------------------
Thanks for this bug report. We will look into it for Bwan Validation 1.1. Work on this new
version has already started.
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
Labels: EBCDIC,, UTF-8, Validation,
Fix For: 1.1
Original Estimate: 0.5h
Remaining Estimate: 0.5h
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
{code}
<dependency>
<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
<version>1.0.0.GA</version>
</dependency>
{code}
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:
{code}
BufferedReader reader = new BufferedReader( new InputStreamReader( stream ), 100 );
{code}
but I believe it should be:
{code}
BufferedReader reader = new BufferedReader( new InputStreamReader( stream,
"UTF-8"), 100 );
{code}
In order to work on non-ASCII platforms (EBCDIC in my case)
From
http://download.oracle.com/javase/6/docs/technotes/guides/jar/jar.html#Pr...
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: