Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-1143

FreeBSD Generic compile problems

XMLWordPrintable

      [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

              gunnar.morling Gunnar Morling
              yerenkow_jira Alexander Yerenkow (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: