On Wed, 2 Dec 2026 19:54:29 GMT, Weijun Wang <[email protected]> wrote:

>> xiaotaonan has updated the pull request incrementally with one additional 
>> commit since the last revision:
>> 
>>   fix: Modify according to the review comments.
>
> test/jdk/sun/security/krb5/AuthDataCCacheTest.java line 56:
> 
>> 54:         ByteArrayInputStream bais = new 
>> ByteArrayInputStream(baos.toByteArray());
>> 55:         CCacheInputStream cis = new CCacheInputStream(bais);
>> 56:         AuthorizationDataEntry[] readBack = cis.readAuth();
> 
> `readAuth` is not public. You may use reflection, and it needs `:+open` on 
> the corresponding `@modules` line.

@wangweij It has been fixed. Thank you for your review suggestions.

> test/jdk/sun/security/krb5/AuthDataCCacheTest.java line 64:
> 
>> 62:         }
>> 63:         for (int i = 0; i < entries.length; i++) {
>> 64:             if (readBack[i].getType() != entries[i].getType()) {
> 
> No `getType` method, but you can access the `adType` field directly.

@wangweij It has been fixed. Thank you for your review suggestions.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/34152#discussion_r4779262802
PR Review Comment: https://git.openjdk.org/jdk/pull/34152#discussion_r4779263831

Reply via email to