src/java.base/share/classes/sun/security/ssl/SSLEngineInputRecord.java
branchJDK-8145252-TLS13-branch
changeset 56704 c3ee22c3a0f6
parent 56694 aa54a1f8e426
child 56717 e4fe7c97b1de
equal deleted inserted replaced
56702:75527e40bdfd 56704:c3ee22c3a0f6
   253             throw bpe;
   253             throw bpe;
   254         } catch (GeneralSecurityException gse) {
   254         } catch (GeneralSecurityException gse) {
   255             throw (SSLProtocolException)(new SSLProtocolException(
   255             throw (SSLProtocolException)(new SSLProtocolException(
   256                     "Unexpected exception")).initCause(gse);
   256                     "Unexpected exception")).initCause(gse);
   257         } finally {
   257         } finally {
   258             // comsume a complete record
   258             // consume a complete record
   259             packet.limit(srcLim);
   259             packet.limit(srcLim);
   260             packet.position(recLim);
   260             packet.position(recLim);
   261         }
   261         }
   262 
   262 
   263         //
   263         //