Robert Munteanu created SLING-7102:
--------------------------------------

             Summary: DavEx integration tests fail on Java 9 - 
javax.jcr.RepositoryFactory is not an ImageIO SPI class
                 Key: SLING-7102
                 URL: https://issues.apache.org/jira/browse/SLING-7102
             Project: Sling
          Issue Type: Bug
          Components: Testing
            Reporter: Robert Munteanu
             Fix For: Launchpad Testing 9


This seems to be a stricter constraint in Java 9 when using the 
{{javax.imageio.spi.ServiceRegistry}} class:

{noformat}Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0 sec 
<<< FAILURE! - in 
org.apache.sling.launchpad.webapp.integrationtest.DavExIntegrationTest
testDescriptor(org.apache.sling.launchpad.webapp.integrationtest.DavExIntegrationTest)
  Time elapsed: 0 sec  <<< ERROR!
java.lang.IllegalArgumentException: javax.jcr.RepositoryFactory is not an 
ImageIO SPI class
        at 
java.desktop/javax.imageio.spi.ServiceRegistry.checkClassAllowed(ServiceRegistry.java:745)
        at 
java.desktop/javax.imageio.spi.ServiceRegistry.lookupProviders(ServiceRegistry.java:230)
        at 
org.apache.jackrabbit.commons.JcrUtils.getRepository(JcrUtils.java:189)
        at 
org.apache.jackrabbit.commons.JcrUtils.getRepository(JcrUtils.java:263)
        at 
org.apache.sling.launchpad.webapp.integrationtest.DavExIntegrationTest.setUp(DavExIntegrationTest.java:47)

testReadNode(org.apache.sling.launchpad.webapp.integrationtest.DavExIntegrationTest)
  Time elapsed: 0 sec  <<< ERROR!
java.lang.IllegalArgumentException: javax.jcr.RepositoryFactory is not an 
ImageIO SPI class
        at 
java.desktop/javax.imageio.spi.ServiceRegistry.checkClassAllowed(ServiceRegistry.java:745)
        at 
java.desktop/javax.imageio.spi.ServiceRegistry.lookupProviders(ServiceRegistry.java:230)
        at 
org.apache.jackrabbit.commons.JcrUtils.getRepository(JcrUtils.java:189)
        at 
org.apache.jackrabbit.commons.JcrUtils.getRepository(JcrUtils.java:263)
        at 
org.apache.sling.launchpad.webapp.integrationtest.DavExIntegrationTest.setUp(DavExIntegrationTest.java:47){noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to