jdk/src/java.base/share/classes/sun/security/ssl/Authenticator.java
changeset 32649 2ee9017c7597
parent 30904 ec0224270f90
equal deleted inserted replaced
32648:1fa861caf840 32649:2ee9017c7597
   242         }
   242         }
   243 
   243 
   244         return copy;
   244         return copy;
   245     }
   245     }
   246 
   246 
   247     final static long toLong(byte[] recordEnS) {
   247     static final long toLong(byte[] recordEnS) {
   248         if (recordEnS != null && recordEnS.length == 8) {
   248         if (recordEnS != null && recordEnS.length == 8) {
   249             return ((recordEnS[0] & 0xFFL) << 56) |
   249             return ((recordEnS[0] & 0xFFL) << 56) |
   250                    ((recordEnS[1] & 0xFFL) << 48) |
   250                    ((recordEnS[1] & 0xFFL) << 48) |
   251                    ((recordEnS[2] & 0xFFL) << 40) |
   251                    ((recordEnS[2] & 0xFFL) << 40) |
   252                    ((recordEnS[3] & 0xFFL) << 32) |
   252                    ((recordEnS[3] & 0xFFL) << 32) |