RFR 8200468: Port the native GSS-API bridge to Windows

Magnus Ihse Bursie magnus.ihse.bursie at oracle.com
Wed Apr 4 10:00:25 UTC 2018


On 2018-04-04 10:06, Weijun Wang wrote:
>
>> On Apr 4, 2018, at 3:59 PM, Magnus Ihse Bursie <magnus.ihse.bursie at oracle.com> wrote:
>>
>> Hi Max,
>>
>> On 2018-04-04 04:19, Weijun Wang wrote:
>>> Hi All
>>>
>>> Please take a review at
>>>
>>>    http://cr.openjdk.java.net/~weijun/8200468/webrev.00/
>> The indentation in Lib-java.security.jgss.gmk has gone wrong. The lines in the "$(eval $(call SetupJdkLibrary" stanza should still be indented four spaces. See the makefile style guide: http://openjdk.java.net/groups/build/doc/code-conventions.html
> So this is for "2. If a line must be broken, use four spaces for indentation". Right?
Yes. 2 spaces for "logical" indentations (such as in an if statement), 
and 4 spaces for broken lines.

>
>> Please always cc build-dev when making changes to makefiles.
> I'll remember it.
Thanks!

/Magnus

>
> Thanks
> Max
>
>> /Magnus
>>
>>
>>
>>
>>
>>> Like in *nix, native GSS-API bridge is turned on by setting -Dsun.security.jgss.native=true. Please note there is no default native GSS-API library on Windows and you need to supply your own, like this:
>>>
>>>   java -Dsun.security.jgss.native=true -Dsun.security.jgss.lib=/path/to/gssapi64.dll App ...
>>>
>>> You can manually test the change with
>>>
>>>   jtreg -Dnative.krb5.libs=j=,n=/path/to/gssapi64.dll test/jdk/sun/security/krb5/auto/BasicProc.java
>>>
>>> Thanks
>>> Max
>>>
>>> p.s. You can get a gssapi64.dll from https://web.mit.edu/KERBEROS/kfw-4.1/kfw-4.1.html.




More information about the build-dev mailing list