GSSCredential

Philippe Marschall pm at netcetera.ch
Fri Jun 7 07:00:02 UTC 2019


On 06.06.19 18:54, Douglas Surber wrote:
> I built a test case. "requires static" does exactly what we need. Adding gssCredential(GSSCredential credential) to ConnectionBuilder does not require user code to include the module java.security.jgss unless they actually mention the type. So assuming {@code requires static java.security.jgss;} is added to java.sql module-info.java apps that do not use gssCredential will not require java.security.jgss in the module-path. if the app wants to use gssCredential it will have to include {@code requires java.security.jgss;} in its module-info.java. I see no reason not to add gssCredential because of any dependency.
> 

Did you build a JDK without java.security.jgss using jlink [1]?

  [1] https://docs.oracle.com/en/java/javase/11/tools/jlink.html

Cheers
Philippe


More information about the jdbc-spec-discuss mailing list