Uploaded image for project: 'Batik'
  1. Batik
  2. BATIK-1249

[PATCH] batik sub jars does not adhere to the java 11 module system

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              ssteiner Simon Steiner
              aanno Thomas Pasch
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: