On Wed, Dec 30, 2009 at 10:11 AM, Daryl Stultz <[email protected]> wrote:
> I wasn't aware that setParentScope would be called between the Java
> constructor and the JS constructor.

I'm not sure that it is... but it should be a simple matter to check
at runtime.  I poked around in the code for a bit, but couldn't come
up with a definitive answer.  I /think/ it does
(BaseFunction.createObject() whips up an empty object then immediately
sets its prototype and parent scope), but I won't be sure until I step
through that code.


--Mark
_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino

Reply via email to