jakarta-bsf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] Created: (BSF-22) Cannot create null Javascript Objects
Date Mon, 08 Dec 2008 16:12:46 GMT
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


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: bsf-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: bsf-dev-help@jakarta.apache.org


Mime
View raw message