[hibernate-issues] [Hibernate-JIRA] Commented: (HV-531) hibernate-validator-annotation-processor tests fails when running against JDK7
Kevin Pollet (JIRA)
noreply at atlassian.com
Thu Nov 24 16:38:19 EST 2011
[ http://opensource.atlassian.com/projects/hibernate/browse/HV-531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44416#comment-44416 ]
Kevin Pollet commented on HV-531:
---------------------------------
The problem is that the AP is annotated with
{code}
@SupportedSourceVersion(SourceVersion.RELEASE_6)
{code}
One solution might be to define the following method in the AP and remove the annotation.
{code}
@Override
public SourceVersion getSupportedSourceVersion() {
return SourceVersion.latestSupported();
}
{code}
> hibernate-validator-annotation-processor tests fails when running against JDK7
> ------------------------------------------------------------------------------
>
> Key: HV-531
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HV-531
> Project: Hibernate Validator
> Issue Type: Bug
> Components: annotation-processor, tests
> Affects Versions: 4.2.0.Final
> Reporter: Hardy Ferentschik
> Fix For: 4.3.0.next
>
>
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list