diff -r 177e80c70ed1 -r 5eb8262e8c5f src/java.security.jgss/share/classes/sun/security/jgss/krb5/MessageToken_v2.java --- a/src/java.security.jgss/share/classes/sun/security/jgss/krb5/MessageToken_v2.java Mon May 14 09:48:33 2018 +0800 +++ b/src/java.security.jgss/share/classes/sun/security/jgss/krb5/MessageToken_v2.java Mon May 14 13:05:11 2018 +0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2004, 2018, 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 @@ -499,11 +499,11 @@ */ class MessageTokenHeader { - private int tokenId; - private byte[] bytes = new byte[TOKEN_HEADER_SIZE]; + private int tokenId; + private byte[] bytes = new byte[TOKEN_HEADER_SIZE]; - // Writes a new token header - public MessageTokenHeader(int tokenId, boolean conf) throws GSSException { + // Writes a new token header + public MessageTokenHeader(int tokenId, boolean conf) throws GSSException { this.tokenId = tokenId; @@ -609,7 +609,7 @@ prop.setQOP(0); // sequence number - seqNumber = readBigEndian(bytes, 0, 8); + seqNumber = readBigEndian(bytes, 12, 4); } /**