Fix incorrect delegate in overriden method in JdkOpenSslEngineInteroptTest
Motivation: JdkOpenSslEngineInteroptTest.mySetupMutualAuthServerIsValidClientException(...) delegated to the wrong super method. Modifications: Fix delegate Result: Correct test-code.
This commit is contained in:
parent
43a2315372
commit
847359fd36
@ -88,6 +88,6 @@ public class JdkOpenSslEngineInteroptTest extends SSLEngineTest {
|
|||||||
@Override
|
@Override
|
||||||
protected boolean mySetupMutualAuthServerIsValidClientException(Throwable cause) {
|
protected boolean mySetupMutualAuthServerIsValidClientException(Throwable cause) {
|
||||||
// TODO(scott): work around for a JDK issue. The exception should be SSLHandshakeException.
|
// TODO(scott): work around for a JDK issue. The exception should be SSLHandshakeException.
|
||||||
return super.mySetupMutualAuthServerIsValidException(cause) || cause instanceof SSLException;
|
return super.mySetupMutualAuthServerIsValidClientException(cause) || cause instanceof SSLException;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user