On 07/09/2011 04:14 AM, Christopher Schultz wrote:
All,

I've been working in AprLifecycleListener to add FIPS support. I need to
make an additional native method call in initializeSSL and I'm wondering
why all of the native methods are called using reflection instead of
direct method calls.


Think that originates from the initial code when the java part of
native was not part of tomcat code.
We needed a way to make (at that time a separate .jar) tomcat uses
it without run time dependency.


If there's no good reason, then all the reflective-call clutter should
be removed.


+1.
There is absolutely no reason to use the reflection any more.



Regards
--
^TM

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to