Legacy Java code use of com.sun.net.ssl.internal.ssl.Provider()
        Posted  
        
            by 
                Dan
            
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Dan
        
        
        
        Published on 2012-10-31T14:58:10Z
        Indexed on 
            2012/11/01
            23:00 UTC
        
        
        Read the original article
        Hit count: 523
        
I am working with some code from back in 2003. There is a reference to the following class:
new com.sun.net.ssl.internal.ssl.Provider()
It is causing an error:
Access restriction: The type Provider is not accessible due to restriction on required library /Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/jre/lib/jsse.jar
Does anyone have any suggestions for a suitable alternative to using this class?
© Stack Overflow or respective owner