[ https://issues.apache.org/jira/browse/XERCESJ-1760?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mukul Gandhi updated XERCESJ-1760: ---------------------------------- Issue Type: Wish (was: Bug) Priority: Minor (was: Blocker) > Splitpackage not allowed on modulepath > -------------------------------------- > > Key: XERCESJ-1760 > URL: https://issues.apache.org/jira/browse/XERCESJ-1760 > Project: Xerces2-J > Issue Type: Wish > Components: DOM (HTML) > Affects Versions: 2.12.2 > Reporter: Kai Hofmann > Priority: Minor > > I am working with Java 17 completly based on the module path - so unit tests > also there - also using cucumber. When using > <dependency> > <groupId>xerces</groupId> > <artifactId>xercesImpl</artifactId> > <version>2.12.2</version> > </dependency> > I got the following error message: > Corrupted channel by directly writing to native stream in forked JVM 1. > Stream 'java.lang.module.ResolutionException: > Modules jdk.xml.dom and xercesImpl export package org.w3c.dom.html to module > io.cucumber.cucumberexpressions'. > > Which ist a correct error, because on the modulepath split-packages are not > allowed! > Within the xercesImpl-2.12.2.jar you export the package org.w3c.dom.html > which part of the jdk.xml.dom. And so this is a splitpackage. > > So please fix that to make xerces2-j working with the java module system. > > > > > -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: j-dev-unsubscr...@xerces.apache.org For additional commands, e-mail: j-dev-h...@xerces.apache.org