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

FreeBSD Generic compile problems

    XMLWordPrintable

    Details

      Description

      [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

        Attachments

          Activity

            People

            Assignee:
            pgier Paul Gier (Inactive)
            Reporter:
            yerenkow Alexander Yerenkow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: