jakarta-bsf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rony G. Flatscher" <Rony.Flatsc...@wu-wien.ac.at>
Subject Ad Jira bug BSF-3 ...
Date Mon, 08 Oct 2007 09:39:44 GMT
Hi there,

just looked up the signatures w.r.t.
<https://issues.apache.org/jira/browse/BSF-3> using 'javap':

    /E:\jdk1.6.0_02\docs\api>javap javax.script.ScriptEngineManager/
    Compiled from "ScriptEngineManager.java"
    public class javax.script.ScriptEngineManager extends java.lang.Object{
        public javax.script.ScriptEngineManager();
        public javax.script.ScriptEngineManager(java.lang.ClassLoader);
        public void setBindings(javax.script.Bindings);
        public javax.script.Bindings getBindings();
        public void put(java.lang.String, java.lang.Object);
        public java.lang.Object get(java.lang.String);
        public javax.script.ScriptEngine getEngineByName(java.lang.String);
        public javax.script.ScriptEngine
    getEngineByExtension(java.lang.String);
        public javax.script.ScriptEngine
    getEngineByMimeType(java.lang.String);
        *public java.util.List getEngineFactories();*
        public void registerEngineName(java.lang.String,
    javax.script.ScriptEngineFactory);
        public void registerEngineMimeType(java.lang.String,
    javax.script.ScriptEngineFactory);
        public void registerEngineExtension(java.lang.String,
    javax.script.ScriptEngineFactory);
        static void access$000(javax.script.ScriptEngineManager,
    java.lang.ClassLoader);
    }

So the correct datatype would be "List" instead of "Array". (Sanka,
could you please be so kind and incorporate that fix into the current
beta of bsf3 as well?)

Regards,

---rony



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message