On Oct 9, 8:25 am, sleepnova <[email protected]> wrote:
> Is there any document about this?

Not really. This was introduced with a small patch to make
JavaAdapters implementing org.mozilla.javascript.Scriptable be treated
as Scriptables (native JS objects) by Rhino.

https://bugzilla.mozilla.org/show_bug.cgi?id=462827

This is a neat hack, but it has its perils, so while it's great for
prototyping, I recommend implementing host objects in Java (which is
what I do now in Helma NG).

As for the problem you're seeing, Helma NG uses a slightly patched
Rhino snapshot, and the problem is in that patch, not Rhino itself. I
introduced the patch to fix other problems with scriptable
JavaAdapters. It's not needed anymore, so I'll remove it or fix it in
the next version.

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

Reply via email to