[PR] Fix SocketFactory creation (geronimo-mail)

sebsoftware (via GitHub) <[email protected]>
Newsgroups gmane.comp.java.geronimo.devel
Message-ID <[email protected]>
sebsoftware opened a new pull request, #2:
URL: https://github.com/apache/geronimo-mail/pull/2

   try to instantiate socketFactoryClass. If it fails try to use the geDefault method. This is the way documented in JavaDoc and also used by i.E. angus-mail.
   
   getDefault is the only way to get fallback to "javax.net.ssl.SSLSocketFactory" work. Because SSLSocketFactory is an abstract class and not instantiable without subclassing.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe-nmThH5wfGryY1pf4d8vP8EB+6BGkLq7r@public.gmane.org

For queries about this service, please contact Infrastructure at:
users-pF6z+fRhj9EyzMRdD/[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.