Hi there,

I would like to add some instrumentation to some standard objects like
native string and array to monitor some events like string
concatenation, array insertion? what is the best way to do it without
patching Rhino? does the following code solve the problem?
--------------------------------------------------
ScriptableObject.defineClass(scope, MyPkg.String.class);
ScriptableObject.defineClass(scope, MyPkg.Array.class);
--------------------------------------------------

Thanks.

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

Reply via email to