jakarta-bsf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ant elder" <ant.el...@gmail.com>
Subject Re: Ad Jira bug BSF-3 ...
Date Mon, 08 Oct 2007 20:44:14 GMT
Using List instead of an array sounds right to me.

   ...ant

On 10/8/07, Rony G. Flatscher <Rony.Flatscher@wu-wien.ac.at> wrote:
>
> 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