On 2009.02.19., at 15:25, Patrick Lightbody wrote:

Because the "factory" field is private and is only set in a
package-protected constructor, and because getFactory() is
public+final, there is no way for me to extend Context while still
passing in a reference to the factory. In the example JavaDocs, this
looks like it's skipped entirely.

Yep, others hit that problem too. I promoted the visibility of that constructor to protected for benefit of subclasses in 1.7R2. 1.7R2 is still unreleased, but you can grab a RC at <ftp://ftp.mozilla.org/pub/mozilla.org/js/rhino1_7R2-RC1.zip >

Hope that helps,
  Attila.

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

Reply via email to