]
David Lloyd commented on WFLY-8620:
-----------------------------------
OK thanks.
wildfly-bean-validation LazyValidatorFactoryTestCase test failed when
running with JDK9
---------------------------------------------------------------------------------------
Key: WFLY-8620
URL:
https://issues.jboss.org/browse/WFLY-8620
Project: WildFly
Issue Type: Bug
Components: Test Suite
Reporter: Amos Feng
Assignee: David Lloyd
Priority: Critical
Labels: Java9
{noformat}
Running org.jboss.as.ee.beanvalidation.LazyValidatorFactoryTestCase
Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.467 sec <<<
FAILURE! - in org.jboss.as.ee.beanvalidation.LazyValidatorFactoryTestCase
testSpecificProviderCanBeConfiguredInValidationXml(org.jboss.as.ee.beanvalidation.LazyValidatorFactoryTestCase)
Time elapsed: 0.283 sec <<< ERROR!
javax.validation.ValidationException: HV000100: Unable to parse META-INF/validation.xml.
at
java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:533)
at
java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:186)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:476)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:292)
at javax.xml.bind.ContextFinder.safeLoadClass(ContextFinder.java:508)
at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:194)
at javax.xml.bind.ContextFinder.find(ContextFinder.java:405)
at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:618)
at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:565)
at
org.hibernate.validator.internal.util.privilegedactions.NewJaxbContext.run(NewJaxbContext.java:33)
at
org.hibernate.validator.internal.util.privilegedactions.NewJaxbContext.run(NewJaxbContext.java:19)
at
org.hibernate.validator.internal.xml.ValidationXmlParser.run(ValidationXmlParser.java:219)
at
org.hibernate.validator.internal.xml.ValidationXmlParser.unmarshal(ValidationXmlParser.java:127)
at
org.hibernate.validator.internal.xml.ValidationXmlParser.parseValidationXml(ValidationXmlParser.java:88)
at
org.hibernate.validator.internal.engine.ConfigurationImpl.getBootstrapConfiguration(ConfigurationImpl.java:393)
at
org.hibernate.validator.internal.engine.ConfigurationImpl.parseValidationXml(ConfigurationImpl.java:476)
at
org.hibernate.validator.internal.engine.ConfigurationImpl.buildValidatorFactory(ConfigurationImpl.java:309)
at
org.jboss.as.ee.beanvalidation.LazyValidatorFactory.initFactory(LazyValidatorFactory.java:81)
at
org.jboss.as.ee.beanvalidation.LazyValidatorFactory.getDelegate(LazyValidatorFactory.java:58)
at
org.jboss.as.ee.beanvalidation.LazyValidatorFactory.getValidator(LazyValidatorFactory.java:73)
at
org.jboss.as.ee.beanvalidation.LazyValidatorFactoryTestCase.testSpecificProviderCanBeConfiguredInValidationXml(LazyValidatorFactoryTestCase.java:70)
{noformat}
It could need to add the java.xml modules