[
https://issues.jboss.org/browse/AS7-5944?page=com.atlassian.jira.plugin.s...
]
Alexis Yerenkow commented on AS7-5944:
--------------------------------------
That's on openjdk6 and openjdk7.
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@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