Return-Path: X-Original-To: apmail-xmlgraphics-batik-dev-archive@www.apache.org Delivered-To: apmail-xmlgraphics-batik-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 06FAA18824 for ; Wed, 16 Sep 2015 14:56:45 +0000 (UTC) Received: (qmail 51742 invoked by uid 500); 16 Sep 2015 14:55:46 -0000 Delivered-To: apmail-xmlgraphics-batik-dev-archive@xmlgraphics.apache.org Received: (qmail 51252 invoked by uid 500); 16 Sep 2015 14:55:46 -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 51006 invoked by uid 99); 16 Sep 2015 14:55:46 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Sep 2015 14:55:46 +0000 Date: Wed, 16 Sep 2015 14:55:46 +0000 (UTC) From: "Jan Vogt (JIRA)" To: batik-dev@xmlgraphics.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (BATIK-1134) Identity theft: batik-js-1.7.jar contains org.mozilla.javascript.ScriptableObject class. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Jan Vogt created BATIK-1134: ------------------------------- Summary: 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. This is bad in many obvious ways. In my case 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. I suggest using a correct identifier like org.apache.batik-js.ScriptableObject 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