On Wed, Mar 17, 2010 at 12:19 PM, wolffiex <[email protected]> wrote:

>
> A number of posts suggest that I want to implement something like
> PrimitiveWrapFactory to do this:
>
> http://mxr.mozilla.org/mozilla/source/js/rhino/examples/PrimitiveWrapFactory.java
>
>
Try this:

WrapFactory wrapFactory = *new* WrapFactory();

wrapFactory.setJavaPrimitiveWrap(*false*);
context.setWrapFactory(wrapFactory);

Sorry, I'm not sure if this will give you what you want or the opposite,
it's been a while...

-- 
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