On Mon, 30 Nov 2020 19:51:42 GMT, Xue-Lei Andrew Fan <[email protected]> wrote:

> In the SunJSSE provider implementation, there are a few non-null check, used 
> together with "instanceof" check.  For such cases, the non-null check is 
> redundant as it could be covered by the "instanceof" check.  This update will 
> remove the non-null check, like:
> -   if ((cause != null) && (cause instanceof IOException)) { 
> +  if (cause instanceof IOException) {
> 
> Code cleanup, no new regression text.
> 
> Bug: https://bugs.openjdk.java.net/browse/JDK-8257448

Marked as reviewed by mullan (Reviewer).

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

PR: https://git.openjdk.java.net/jdk/pull/1524

Reply via email to