[
https://issues.apache.org/jira/browse/XERCESJ-1760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17784704#comment-17784704
]
Carsten Pfeiffer commented on XERCESJ-1760:
-------------------------------------------
AFAIU this is a duplicate of XERCESJ-1689 which has been fixed long ago for
version 2.12.3, but, alas, this version is still not released.
A new java version requirement is not requested, just a new release of version
2.12.3 to become compatible with Java 9+.
> 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: [email protected]
For additional commands, e-mail: [email protected]