[ 
https://issues.apache.org/jira/browse/BSF-22?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sebb updated BSF-22:
--------------------

    Attachment: JavasciptEngine.patch

Possible fix

> Cannot create null Javascript Objects
> -------------------------------------
>
>                 Key: BSF-22
>                 URL: https://issues.apache.org/jira/browse/BSF-22
>             Project: BSF
>          Issue Type: Bug
>    Affects Versions: BSF-2.4
>            Reporter: Sebb
>         Attachments: JavasciptEngine.patch
>
>
> It's not currently possible to create a null Javascript object using the 
> declareBean() method.
> This works fine for Jexl and BeanShell.
> The problem seems to be in the JavaScriptEngine#declareBean() method; calling 
> Context.toObject() when bean.bean is null does not work.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to