You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by "Jan Vogt (JIRA)" <ji...@apache.org> on 2015/09/16 17:03:45 UTC

[jira] Jan Vogt shared "BATIK-1134: Identity theft: batik-js-1.7.jar contains org.mozilla.javascript.ScriptableObject class." with you

    Jan Vogt shared an issue with you
    ---------------------------------

    

> Identity theft: batik-js-1.7.jar contains org.mozilla.javascript.ScriptableObject class.
> ----------------------------------------------------------------------------------------
>
>                 Key: BATIK-1134
>                 URL: https://issues.apache.org/jira/browse/BATIK-1134
>             Project: Batik
>          Issue Type: Bug
>          Components: Scripting
>    Affects Versions: 1.7
>         Environment: all
>            Reporter: Jan Vogt
>
> 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.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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