Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
This seems to be a stricter constraint in Java 9 when using the javax.imageio.spi.ServiceRegistry class:
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)
Attachments
Issue Links
- blocks
-
SLING-7046 Run the Sling ITs with Java 9
- Resolved
- is blocked by
-
JCR-4179 Test failures with Java 9 when using javax.imageio.spi.ServiceRegistry
- Closed