This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [patch] merge/import X509 certificate code from Classpath
- From: Casey Marshall <csm at gnu dot org>
- To: Bryce McKinlay <mckinlay at redhat dot com>
- Cc: Andreas Tobler <toa at pop dot agri dot ch>, java-patches at gcc dot gnu dot org
- Date: Tue, 16 Nov 2004 11:52:17 -0800
- Subject: Re: [patch] merge/import X509 certificate code from Classpath
- References: <4174261200004933@mail02.agrinet.ch> <4198FF7D.3040006@redhat.com>
>>>>> "Bryce" == Bryce McKinlay <mckinlay@redhat.com> writes:
Bryce> This looks good, thanks. I'm not entirely sure that the use of
Bryce> static references to force the providers to be linked in when
Bryce> compiling statically is a good idea, however, we've done this
Bryce> elsewhere and you've flagged it with a comment so I think its
Bryce> ok for now. I don't think they will hurt if we, eventually,
Bryce> come up with a better static linking solution.
Aside from static linking, using "class.getName()" in provider
definitions absolutely guarantees that algorithm names point to the
correct class. I don't know about you, but I know that I can't spell
correctly.
--
Casey Marshall || csm@gnu.org