--- old/src/share/classes/sun/security/ssl/ClientHandshaker.java 2019-10-30 20:39:02.625019297 +0000 +++ new/src/share/classes/sun/security/ssl/ClientHandshaker.java 2019-10-30 20:39:02.515019107 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1996, 2018, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1996, 2019, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -1399,7 +1399,7 @@ String sessionIdentityAlg = session.getEndpointIdentificationAlgorithm(); - if (!Objects.equals(identityAlg, sessionIdentityAlg)) { + if (!identityAlg.equalsIgnoreCase(sessionIdentityAlg)) { if (debug != null && Debug.isOn("session")) { System.out.println("%% can't resume, endpoint id" + --- old/src/share/classes/sun/security/ssl/ServerHandshaker.java 2019-10-30 20:39:03.225020331 +0000 +++ new/src/share/classes/sun/security/ssl/ServerHandshaker.java 2019-10-30 20:39:03.115020142 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1996, 2018, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1996, 2019, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -705,7 +705,7 @@ String sessionIdentityAlg = previous.getEndpointIdentificationAlgorithm(); - if (!Objects.equals(identityAlg, sessionIdentityAlg)) { + if (!identityAlg.equalsIgnoreCase(sessionIdentityAlg)) { if (debug != null && Debug.isOn("session")) { System.out.println("%% can't resume, endpoint id"