Hello, I have the following code:

function myFunction(object1) {
    var object2 = object1;
    object2 == object1;
}

That produces this warning:

RHINO USAGE WARNING: Missed Context.javaToJS() conversion:

Rhino runtime detected object f...@eb2f0 of class Foo where it expected
String, Number, Boolean or Scriptable instance. Please check your code for
missing Context.javaToJS() call.

Anyone know what I'm supposed to do? object1 and object2 are Foo classes, of
course, wrapped to be Scriptable.

Thanks.

--
Daryl Stultz
_____________________________________
6 Degrees Software and Consulting, Inc.
http://www.6degrees.com
mailto:[email protected]
_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino

Reply via email to