Yes, I measured it to be about 100x faster for both Field and Method access, if I recall correctly.
Charles. > > Is your BCEL implementation faster? Are there advantages to using BCEL > over reflect? This is kind of fascinating. > > Thanks, > -Phil > > > > > > Charles Lloyd > > <clloyd3@attb To: [EMAIL PROTECTED] > > i.com> cc: > > Subject: Emulating > > 05/15/2002 java.lang.reflect.AccessibleObject > > 09:25 PM > > Please > > respond to > > "BCEL Users > > List" > > > > > > > > > > I am trying to write a replacement for java.lang.reflect.Method and > Field using BCEL. I have everything working nicely except I cannot > figure out how to emulate the setAccessible(true) feature which allows > for access (via reflection) to protected and private Methods and Fields. > > Suggestions or examples greatly appreciated. > > Charles. > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > > > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
