[
https://issues.apache.org/jira/browse/XERCESJ-1760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17784906#comment-17784906
]
Elliotte Rusty Harold commented on XERCESJ-1760:
------------------------------------------------
It is **not** true that the minimum version of Java has to be Java 9+ to
support Java's module system. It is absolutely possible to set Java 8 or 1.7 as
the minimum version and still produce jars that are fully compatible with the
module system.
> 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]