RFR: 8279842: HTTPS Channel Binding support for Java GSS/Kerberos [v10]
Daniel Fuchs
dfuchs at openjdk.java.net
Thu Jan 27 16:50:49 UTC 2022
On Wed, 26 Jan 2022 19:00:14 GMT, Weijun Wang <weijun at openjdk.org> wrote:
>> test/jdk/sun/security/krb5/auto/HttpsCB.java line 201:
>>
>>> 199: return reader.readLine().equals(CONTENT);
>>> 200: } catch (Exception e) {
>>> 201: return false;
>>
>> Should we log that we have received the excepted exception here? Shouldn't the catch clause only list the exceptions that we are expecting?
>
> It's `java.net.SocketException: Unexpected end of file from server`. Does not include any CBT words so don't know if it's worth parsing.
Thanks. Then it would be better to catch only `SocketException` here rather than `Exception`.
-------------
PR: https://git.openjdk.java.net/jdk/pull/7065
More information about the core-libs-dev
mailing list