From batik-dev-return-10657-archive-asf-public=cust-asf.ponee.io@xmlgraphics.apache.org Fri Jan 11 19:29:05 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 737DD180648 for ; Fri, 11 Jan 2019 19:29:04 +0100 (CET) Received: (qmail 70927 invoked by uid 500); 11 Jan 2019 18:29:03 -0000 Mailing-List: contact batik-dev-help@xmlgraphics.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: batik-dev@xmlgraphics.apache.org Delivered-To: mailing list batik-dev@xmlgraphics.apache.org Received: (qmail 70917 invoked by uid 99); 11 Jan 2019 18:29:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Jan 2019 18:29:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 2D8781808AD for ; Fri, 11 Jan 2019 18:29:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -110.301 X-Spam-Level: X-Spam-Status: No, score=-110.301 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id MTe_j8tz5WMW for ; Fri, 11 Jan 2019 18:29:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 31FAD6109E for ; Fri, 11 Jan 2019 18:29:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 6D56EE2653 for ; Fri, 11 Jan 2019 18:29:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 2E2C42558E for ; Fri, 11 Jan 2019 18:29:00 +0000 (UTC) Date: Fri, 11 Jan 2019 18:29:00 +0000 (UTC) From: "Thomas Pasch (JIRA)" To: batik-dev@xmlgraphics.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (BATIK-1249) batik sub jars does not adhere to the java 11 module system MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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