Hi,
Thank you for the report.
Plugins are running in the same VM but they are loaded by different class loaders. In the case when a class is being provided by the HTML Client you can:
- switch to using non-static calls (as mentioned in the documentation https://docs.oracle.com/javase/7/docs/api/javax/net/ssl/HttpsURLConnection.html) OR
- embed your own version of the library in the Bundle-Classpath of your service jar bundle.
We should definitely look into a better sample that takes into account this perspective.
Cheers,
Vladi