In the particular case, I'm very carefully not using the global static context factory. I'm using my own context factory, and I still end up with null.
"Attila Szegedi" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Well, yeah. I remember once reviewing this myself and it turns out that > Context.enter() doesn't set factory, and other parts of the code actually > rely on factory == null to assume the context is meant to operate with > the global factory. That's an admittedly really ugly design in there. I > think it originates from times when there was no such thing as a > pluggable context factory. Then someone introduced them, but retained > this unfortunate anomaly. We'll really need to address this sometime... > In the meantime, factory == null means the Context actually uses the > global (static) ContextFactory instance settings. > > Attila. > > On 2007.11.21., at 20:02, Benson Margulies wrote: > >> I would be really grateful for any thoughts about the above- captioned >> bug. >> >> >> _______________________________________________ >> dev-tech-js-engine-rhino mailing list >> [email protected] >> https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino > _______________________________________________ dev-tech-js-engine-rhino mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino
