xmlgraphics-batik-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Pasch (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BATIK-1249) batik sub jars does not adhere to the java 11 module system
Date Fri, 11 Jan 2019 18:29:00 GMT

    [ https://issues.apache.org/jira/browse/BATIK-1249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16740624#comment-16740624
] 

Thomas Pasch commented on BATIK-1249:
-------------------------------------

Ok, I updated the PR to compile for java 1.6.

Just as clarification: This PR only makes it possible to use batik from the Java 11 (Java
9) module system. Batik will (now) still work with Java 1.6.

> batik sub jars does not adhere to the java 11 module system
> -----------------------------------------------------------
>
>                 Key: BATIK-1249
>                 URL: https://issues.apache.org/jira/browse/BATIK-1249
>             Project: Batik
>          Issue Type: Bug
>            Reporter: Thomas Pasch
>            Priority: Major
>
> If you use the batik sub jars (i.e. all batik jars except batik-all) with java 11 you
will get the following compile error:
> ```
> error: the unnamed module reads package org.w3c.dom.events from both java.xml and batik.ext
> error: the unnamed module reads package org.apache.batik.util from both batik.util and
batik.constants
> ```
> This is because the jars share some (java class) code in the {{same}} packages.
> The new java 11 (or java 9) module system does not like this kind of 'split jars'. The
agreed-upon long-term solution to split jars is to separate the package namespaces.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org


Mime
View raw message