Can you post some example code somewhere?  Our project could definately use
some speedup in the portions that use reflect.

Thanks,
-Phil



                                                                                      
                    clloyd3@attbi                                                     
                    .com                 To:     "BCEL Users List"                    
                                         <[EMAIL PROTECTED]>               
                    05/16/2002           cc:                                          
                    02:14 PM             Subject:     Re: Emulating                   
                    Please               java.lang.reflect.AccessibleObject           
                    respond to                                                        
                    "BCEL Users                                                       
                    List"                                                             
                                                                                      
                                                                                      




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






--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to