Subj : Re: Using ClassCompiler, can I only override public functions with To : netscape.public.mozilla.jseng From : Igor Bukanov Date : Tue Feb 22 2005 04:08 pm user@domain.invalid wrote: > even more, it looks like js can't even *call* a function that's not > public. For instance, in my derived class, I can't call a protected > superclass member function. > > is this just how it is or can I set some kidn of permissions or am i > just wrong and missing something stupid? To find out the super class methods Rhino sources just calls Class.getMethods() which skips all protected method names, see http://lxr.mozilla.org/mozilla/source/js/rhino/src/org/mozilla/javascript/JavaAdapter.java#390 Regards, Igor .