src/java.base/share/classes/sun/security/ssl/SSLTransport.java
changeset 51574 ed52ea83f830
parent 50768 68fa3d4026ea
child 53064 103ed9569fc8
--- a/src/java.base/share/classes/sun/security/ssl/SSLTransport.java	Tue Aug 21 13:44:59 2018 +0100
+++ b/src/java.base/share/classes/sun/security/ssl/SSLTransport.java	Tue Aug 21 11:30:48 2018 -0700
@@ -167,9 +167,10 @@
             if (plainText == null) {
                 plainText = Plaintext.PLAINTEXT_NULL;
             } else {
-                // File the destination buffers.
-                if (dsts != null && dstsLength > 0 &&
-                    plainText.contentType == ContentType.APPLICATION_DATA.id) {
+                // Fill the destination buffers.
+                if ((dsts != null) && (dstsLength > 0) &&
+                        (plainText.contentType ==
+                            ContentType.APPLICATION_DATA.id)) {
 
                     ByteBuffer fragment = plainText.fragment;
                     int remains = fragment.remaining();