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

Kevin Pollet (JIRA) noreply at atlassian.com
Sun Dec 5 06:40:13 EST 2010


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

Kevin Pollet commented on HV-402:
---------------------------------

It's not a ValueMessageInterpolator consequences but it seems that Hibernate Validator doesn't work well with JDK 5 because of an _Arrays.copyOf_ call which is available since JDK 6.

{quote}
Exception in thread "main" java.lang.NoSuchMethodError: java.util.Arrays.copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;
	at org.hibernate.validator.engine.ValidatorImpl.determineGroupExecutionOrder(ValidatorImpl.java:194)
	at org.hibernate.validator.engine.ValidatorImpl.validate(ValidatorImpl.java:120)
{quote}

> 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