[jboss-jira] [JBoss JIRA] (AS7-5944) FreeBSD Generic compile problems

Alexis Yerenkow (JIRA) jira-events at lists.jboss.org
Wed Nov 14 09:58:21 EST 2012


Alexis Yerenkow created AS7-5944:
------------------------------------

             Summary: FreeBSD Generic compile problems
                 Key: AS7-5944
                 URL: https://issues.jboss.org/browse/AS7-5944
             Project: Application Server 7
          Issue Type: Feature Request
          Components: Build System
    Affects Versions: 7.1.3.Final (EAP)
         Environment: FreeBSD 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Tue Jun 12 02:52:29 UTC 2012     root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64

            Reporter: Alexis Yerenkow
            Assignee: Paul Gier


[ERROR] //jboss-as-7.1.1.Final/connector/src/main/java/org/jboss/as/connector/util/JCAValidatorFactory.java:[95,41] incompatible types; 

inferred type argument(s) java.lang.Object do not conform to bounds of type variable(s) T

found   :<T>javax.validation.bootstrap.ProviderSpecificBootstrap<T>
required: java.lang.Object

This easily fixed with changinng

Validation.byProvider(HibernateValidator.class)

To:

Validation.<HibernateValidatorConfiguration,HibernateValidator>byProvider(HibernateValidator.class)


This should be done in few more places:
jboss-as-7.1.3.Final/ee/src/main/java/org/jboss/as/ee/beanvalidation/LazyValidatorFactory.java



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list