Hello,
I have been looking at Android's javax.net.ssl package, but am still confused as to how it works with the underlying JNI glue in place.
From what I see, all of the classes under the javax.net.ssl package (/libcore/x-net/src/main/java/javax/net/ssl) are abstract and do not directly implement functionality.
All of the functionality of the above is implemented in the org.apache.harmony.xnet.provider.jsse folder (/libcore/x-net/src/main/java/org/apache/harmony/xnet/provider/jsse), and this implementation makes calls to the underlying JNI C code.
Would anyone be able to tell me how the provider is linked to the abstract classes, given that the user calls the abstract classes directly from their code. I thought that usually the user would call the subclass, but in this case it seems to be the opposite.
Thanks,
Chris