Open fhoeben opened 5 years ago
Are you using this in production?
Not yet. But we are evaluating that 3rd party library for production use. And until they have a version not using 'not yet commons'....
That setHost call may have been done reflectively to support older versions of Java. I know the proper way today to set the SNI extension is through the SSLParameters. Since this is being compiled and built with Java 8 anyway, it's probably safe to set that as the minimum supported version. So we should be able to get rid of that reflective call and set the SNI host properly.
First of thanks for this port. I have to use a 3rd party library which depends on not yet commons and now I can use it on Java 11!
But when I use the library I get a console message. This suggests it will not work in future Java version...