[hibernate-issues] [Hibernate-JIRA] Commented: (HV-402) Make sure that Validator still works on JDK 5 due to ValueMessageInterpolator

Gunnar Morling (JIRA) noreply at atlassian.com
Sun Dec 5 08:16:13 EST 2010


    [ http://opensource.atlassian.com/projects/hibernate/browse/HV-402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=39297#action_39297 ] 

Gunnar Morling commented on HV-402:
-----------------------------------

Thanks for pointing that out. Could you create a separate JIRA issue for this, as it is unrelated to the problem at hand?

This problem is quite new, it originates from https://github.com/hibernate/hibernate-validator/commit/8f7460ff51b67f92a3c7bec01eeac80c1eedb40b . System#arraycopy() could be used instead. 

Hardy, maybe we can setup another Hudson session which executes the build/tests on JDK 5? I remember a similar issue where I accidentally used a String method also introduced with SE 6.

> Make sure that Validator still works on JDK 5 due to ValueMessageInterpolator
> -----------------------------------------------------------------------------
>
>                 Key: HV-402
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HV-402
>             Project: Hibernate Validator
>          Issue Type: Bug
>          Components: documentation, engine
>    Affects Versions: 4.1.0.Final
>            Reporter: Hardy Ferentschik
>            Assignee: Hardy Ferentschik
>             Fix For: 4.2.0.Beta1
>
>
> {{ValueMessageInterpolator}} requires the JSR 223 scripting API. We have to make sure that this does not cause any problems on a Java 5 runtime. However, since you have to explicitly configure this interpolator. We have to confirm that though.
> We probably need a note in the documentation.  

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list