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

Identity theft: batik-js-1.7.jar contains org.mozilla.javascript.ScriptableObject class.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.7
    • None
    • Scripting
    • None
    • all

    Description

      The batik-js-1.7.jar file indirectly required by Geoserver (http://geoserver.org/) contains a class with the fully qualified identifier org.mozilla.javascript.ScriptableObject. But this identifier belongs to https://github.com/mozilla/rhino/blob/master/src/org/mozilla/javascript/ScriptableObject.java.
      In my case this leads to serious problems: I am using the Mozilla Rhino library for a geoserver extension and cant control the classpath. At runtime the wrong (your) org.mozilla.javascript.ScriptableObject is used which leads to weird crashes e.g. that the Method ScriptableObject.putConstProperty() can not be resolved. My suggested fix would be to use a conventional identifier like org.apache.batik-js.ScriptableObject that uses your namespace instead of Mozilla's one.

      Attachments

        Activity

          People

            Unassigned Unassigned
            geopsjan Jan Vogt
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: