--- old/src/java.base/share/classes/javax/security/auth/Policy.java 2015-04-08 15:27:49.991467936 +0400 +++ new/src/java.base/share/classes/javax/security/auth/Policy.java 2015-04-08 15:27:49.607467954 +0400 @@ -322,7 +322,7 @@ * in conjunction with the provided * {@code CodeSource}, determines the Permissions * returned by this method. This parameter - * may be {@code null}.

+ * may be {@code null}. * * @param cs the code specified by its {@code CodeSource} * that determines, in conjunction with the provided --- old/src/java.security.jgss/share/classes/org/ietf/jgss/GSSContext.java 2015-04-08 15:27:50.931467894 +0400 +++ new/src/java.security.jgss/share/classes/org/ietf/jgss/GSSContext.java 2015-04-08 15:27:50.567467910 +0400 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 2015, 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 @@ -104,7 +104,7 @@ * operations on the GSSContext object are presented, * including: object instantiation, setting of desired flags, context * establishment, query of actual context flags, per-message operations on - * application data, and finally context deletion.

+ * application data, and finally context deletion. * *

  *    // Create a context using default credentials
@@ -209,7 +209,7 @@
      * Some mechanism providers might require that the caller be granted
      * permission to initiate a security context. A failed permission check
      * might cause a {@link java.lang.SecurityException SecurityException}
-     * to be thrown from this method.

+ * to be thrown from this method. * * @return a byte[] containing the token to be sent to the * peer. null indicates that no token is generated. @@ -276,7 +276,7 @@ * to be thrown from this method.

* * The following example code demonstrates how this method might be - * used:

+ * used: *

      *     InputStream is ...
      *     OutputStream os ...
@@ -346,7 +346,7 @@
      * to be thrown from this method.

* * The following example code demonstrates how this method might be - * used:

+ * used: *

      *     byte[] inToken;
      *     byte[] outToken;
@@ -423,7 +423,7 @@
      * to be thrown from this method.

* * The following example code demonstrates how this method might be - * used:

+ * used: *

      *     InputStream is ...
      *     OutputStream os ...
@@ -510,7 +510,7 @@
      * GSS-API implementations are recommended but not required to detect
      * invalid QOP values when getWrapSizeLimit is called.
      * This routine guarantees only a maximum message size, not the
-     * availability of specific QOP values for message protection.

+ * availability of specific QOP values for message protection. * * @param qop the level of protection wrap will be asked to provide. * @param confReq true if wrap will be asked to provide @@ -595,7 +595,7 @@ * * Since some application-level protocols may wish to use tokens * emitted by wrap to provide "secure framing", implementations should - * support the wrapping of zero-length messages.

+ * support the wrapping of zero-length messages. * * @param inStream an InputStream containing the application data to be * protected. All of the data that is available in @@ -630,7 +630,7 @@ * * Since some application-level protocols may wish to use tokens * emitted by wrap to provide "secure framing", implementations should - * support the wrapping and unwrapping of zero-length messages.

+ * support the wrapping and unwrapping of zero-length messages. * * @param inBuf a byte array containing the wrap token received from * peer. @@ -679,7 +679,7 @@ * * Other than the possible blocking behavior described above, this * method is equivalent to the byte array based {@link #unwrap(byte[], - * int, int, MessageProp) unwrap} method.

+ * int, int, MessageProp) unwrap} method. * * @param inStream an InputStream that contains the wrap token generated * by the peer. @@ -827,7 +827,7 @@ * * Other than the possible blocking behavior described above, this * method is equivalent to the byte array based {@link #verifyMIC(byte[], - * int, int, byte[], int, int, MessageProp) verifyMIC} method.

+ * int, int, byte[], int, int, MessageProp) verifyMIC} method. * * @param tokStream an InputStream containing the token generated by the * peer's getMIC method. @@ -913,7 +913,7 @@ * might require mutual authentication even if the application * doesn't. Therefore, the application should check to see if the * request was honored with the {@link #getMutualAuthState() - * getMutualAuthState} method.

+ * getMutualAuthState} method. * * @param state a boolean value indicating whether mutual * authentication should be used or not. @@ -943,7 +943,7 @@ * MessageProp#isOldToken() MessageProp.isOldToken} methods will return * valid results for the MessageProp object that is passed * in to the unwrap method or the verifyMIC - * method.

+ * method. * * @param state a boolean value indicating whether replay detection * should be enabled over the established context or not. @@ -975,7 +975,7 @@ * {@link MessageProp#isGapToken() MessageProp.isGapToken} methods will return * valid results for the MessageProp object that is passed * in to the unwrap method or the verifyMIC - * method.

+ * method. * * @param state a boolean value indicating whether sequence checking * should be enabled over the established context or not. @@ -1001,7 +1001,7 @@ * delegation must not be used, then the mechanism will honor the * request and delegation will not occur. This is an exception * to the general rule that a mechanism may enable a service even if it - * is not requested.

+ * is not requested. * * @param state a boolean value indicating whether the credentials * should be delegated or not. @@ -1021,7 +1021,7 @@ * * Not all mechanisms support anonymity for the initiator. Therefore, the * application should check to see if the request was honored with the - * {@link #getAnonymityState() getAnonymityState} method.

+ * {@link #getAnonymityState() getAnonymityState} method. * * @param state a boolean value indicating if the initiator should * be authenticated to the acceptor as an anonymous principal. @@ -1048,7 +1048,7 @@ * object that is passed in to the wrap method.

* * Enabling confidentiality will also automatically enable - * integrity.

+ * integrity. * * @param state a boolean value indicating whether confidentiality * should be enabled or not. @@ -1075,7 +1075,7 @@ * the {@link #getIntegState() getIntegState} method.

* * Disabling integrity will also automatically disable - * confidentiality.

+ * confidentiality. * * @param state a boolean value indicating whether integrity * should be enabled or not. @@ -1095,7 +1095,7 @@ * * The actual lifetime of the context will depend on the capabilities of * the underlying mechanism and the application should call the {@link - * #getLifetime() getLifetime} method to determine this.

+ * #getLifetime() getLifetime} method to determine this. * * @param lifetime the desired context lifetime in seconds. Use * INDEFINITE_LIFETIME to request an indefinite lifetime @@ -1133,7 +1133,7 @@ * initiator requests that delegation not be allowed the {@link * #requestCredDeleg(boolean) requestCredDeleg} method will honor that * request and this method will return false on the - * initiator's side from that point onwards.

+ * initiator's side from that point onwards. * * @return true if delegation is enabled, false otherwise. * @see #requestCredDeleg(boolean) @@ -1147,7 +1147,7 @@ * called only after context establishment is complete. An initiator * that requests mutual authentication can call this method after * context completion and dispose the context if its request was not - * honored.

+ * honored. * * @return true if mutual authentication is enabled, false otherwise. * @see #requestMutualAuth(boolean) @@ -1161,7 +1161,7 @@ * definitive answer this method must be called only after context * establishment is complete. An initiator that requests replay * detection can call this method after context completion and - * dispose the context if its request was not honored.

+ * dispose the context if its request was not honored. * * @return true if replay detection is enabled, false otherwise. * @see #requestReplayDet(boolean) @@ -1175,7 +1175,7 @@ * definitive answer this method must be called only after context * establishment is complete. An initiator that requests sequence * checking can call this method after context completion and - * dispose the context if its request was not honored.

+ * dispose the context if its request was not honored. * * @return true if sequence checking is enabled, false otherwise. * @see #requestSequenceDet(boolean) @@ -1195,7 +1195,7 @@ * should be sent to the peer or the context aborted. On the * acceptor side, a call to this method determines if any of the tokens * processed by acceptSecContext thus far have divulged - * the identity of the initiator.

+ * the identity of the initiator. * * @return true if the context initiator is still anonymous, false * otherwise. @@ -1235,7 +1235,7 @@ * #isProtReady() isProtReady} or {@link #isEstablished() * isEstablished} return true. If this method returns * true, so will {@link #getIntegState() - * getIntegState}

+ * getIntegState} * * @return true if confidentiality services are available, false * otherwise. @@ -1250,7 +1250,7 @@ * #isProtReady() isProtReady} or {@link #isEstablished() * isEstablished} return true. This method will always * return true if {@link #getConfState() getConfState} - * returns true.

+ * returns true. * * @return true if integrity services are available, false otherwise. * @see #requestInteg(boolean) @@ -1262,7 +1262,7 @@ * context is. It can be called by both the context initiator and the * context acceptor, but for a definitive answer it should be called * only after {@link #isEstablished() isEstablished} returns - * true.

+ * true. * * @return the remaining lifetime in seconds * @see #requestLifetime(int) --- old/src/java.security.jgss/share/classes/org/ietf/jgss/GSSCredential.java 2015-04-08 15:27:51.823467854 +0400 +++ new/src/java.security.jgss/share/classes/org/ietf/jgss/GSSCredential.java 2015-04-08 15:27:51.539467867 +0400 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 2015, 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 @@ -57,7 +57,7 @@ * * This example code demonstrates the creation of a GSSCredential * implementation for a specific entity, querying of its fields, and its - * release when it is no longer needed:

+ * release when it is no longer needed: *

  *    GSSManager manager = GSSManager.getInstance();
  *
--- old/src/java.security.jgss/share/classes/org/ietf/jgss/GSSException.java	2015-04-08 15:27:52.679467816 +0400
+++ new/src/java.security.jgss/share/classes/org/ietf/jgss/GSSException.java	2015-04-08 15:27:52.407467828 +0400
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2015, 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
@@ -34,7 +34,7 @@
  * mechanism implementation is responsible for setting appropriate minor
  * status codes when throwing this exception.  Aside from delivering the
  * numeric error codes to the caller, this class performs the mapping from
- * their numeric values to textual representations. 

+ * their numeric values to textual representations. * * @author Mayank Upadhyay * @since 1.4 --- old/src/java.security.jgss/share/classes/org/ietf/jgss/GSSManager.java 2015-04-08 15:27:53.483467779 +0400 +++ new/src/java.security.jgss/share/classes/org/ietf/jgss/GSSManager.java 2015-04-08 15:27:53.191467793 +0400 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 2015, 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 @@ -55,7 +55,7 @@ * of this and recover cleanly by catching the exception.

* * It is envisioned that there will be three most common ways in which - * providers will be used:

+ * providers will be used: *

    *
  1. The application does not care about what provider is used (the * default case). @@ -87,7 +87,7 @@ * the addProviderAtFront method on a GSSManager that has * already created an object.

    * - * Here is some sample code showing how the GSSManager might be used:

    + * Here is some sample code showing how the GSSManager might be used: *

      *     GSSManager manager = GSSManager.getInstance();
      *
    @@ -116,7 +116,7 @@
      *                                                GSSContext.DEFAULT_LIFETIME);
      * 

    * - * The server side might use the following variation of this source:

    + * The server side might use the following variation of this source: * *

      *     // Acquire credentials for the server
    @@ -387,7 +387,7 @@
          * Non-default values for lifetime cannot always be honored by the
          * underlying mechanisms, thus applications should be prepared to call
          * {@link GSSCredential#getRemainingLifetime() getRemainingLifetime}
    -     * on the returned credential.

    + * on the returned credential. * * @param name the name of the principal for whom this credential is to be * acquired. Use null to specify the default principal. @@ -442,7 +442,7 @@ * Non-default values for lifetime cannot always be honored by the * underlying mechanisms, thus applications should be prepared to call * {@link GSSCredential#getRemainingLifetime() getRemainingLifetime} - * on the returned credential.

    + * on the returned credential. * * @param name the name of the principal for whom this credential is to * be acquired. Use null to specify the default @@ -492,7 +492,7 @@ * Non-default values for lifetime cannot always be honored by the * underlying mechanism, thus applications should be prepared to call * {@link GSSContext#getLifetime() getLifetime} on the returned - * context.

    + * context. * * @param peer the name of the target peer. * @param mech the Oid of the desired mechanism. Use null @@ -610,7 +610,7 @@ * operation is unavailable.

    * * Suppose an application desired that the provider A always be checked - * first when any mechanism is needed, it would call:

    + * first when any mechanism is needed, it would call: *

          *         GSSManager mgr = GSSManager.getInstance();
          *         // mgr may at this point have its own pre-configured list
    @@ -621,7 +621,7 @@
          * 
    * Now if it also desired that the mechanism of Oid m1 always be * obtained from the provider B before the previously set A was checked, - * it would call:

    + * it would call: *

          *         mgr.addProviderAtFront(B, m1);
          * 
    @@ -632,7 +632,7 @@ * directly.

    * * Suppose at a later time the following call is made to the same - * GSSManager instance:

    + * GSSManager instance: *

          *         mgr.addProviderAtFront(B, null)
          * 
    @@ -684,14 +684,14 @@ * Suppose an application desired that when a mechanism of Oid m1 is * needed the system default providers always be checked first, and only * when they do not support m1 should a provider A be checked. It would - * then make the call:

    + * then make the call: *

          *         GSSManager mgr = GSSManager.getInstance();
          *         mgr.addProviderAtEnd(A, m1);
          * 
    * Now, if it also desired that for all mechanisms the provider B be * checked after all configured providers have been checked, it would - * then call:

    + * then call: *

          *         mgr.addProviderAtEnd(B, null);
          * 
    @@ -699,7 +699,7 @@ * null)}.

    * * Suppose at a later time the following call is made to the same - * GSSManager instance:

    + * GSSManager instance: *

          *         mgr.addProviderAtEnd(B, m2)
          * 
    @@ -708,7 +708,7 @@ * request is made for the already existing pairs of (A, m1) or (B, * null).

    * - * Please note, however, that the following call:

    + * Please note, however, that the following call: *

          *         mgr.addProviderAtEnd(A, null)
          * 
    --- old/src/java.security.jgss/share/classes/org/ietf/jgss/GSSName.java 2015-04-08 15:27:54.283467744 +0400 +++ new/src/java.security.jgss/share/classes/org/ietf/jgss/GSSName.java 2015-04-08 15:27:54.003467756 +0400 @@ -48,7 +48,7 @@ * The code below creates a GSSName, converts it to an MN, performs a * comparison, obtains a printable representation of the name, exports it * to a byte array and then re-imports to obtain a - * new GSSName.

    + * new GSSName. *

      *      GSSManager manager = GSSManager.getInstance();
      *
    @@ -236,7 +236,8 @@
          * method {@link GSSManager#createName(byte[], Oid)
          * GSSManager.createName} and specifying the NT_EXPORT_NAME as the name
          * type object identifier. The resulting GSSName name will
    -     * also be a MN.

    + * also be a MN. + * * @return a byte[] containing the exported name. RFC 2743 defines the * "Mechanism-Independent Exported Name Object Format" for these bytes. * --- old/src/java.security.jgss/share/classes/org/ietf/jgss/MessageProp.java 2015-04-08 15:27:55.047467709 +0400 +++ new/src/java.security.jgss/share/classes/org/ietf/jgss/MessageProp.java 2015-04-08 15:27:54.771467722 +0400 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2001, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 2015, 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 @@ -42,7 +42,7 @@ * false. Upon return from these methods, this object will also * contain any supplementary status values applicable to the processed * token. The supplementary status values can indicate old tokens, out - * of sequence tokens, gap tokens or duplicate tokens.

    + * of sequence tokens, gap tokens or duplicate tokens. * * @see GSSContext#wrap * @see GSSContext#unwrap --- old/src/java.security.jgss/share/classes/org/ietf/jgss/package.html 2015-04-08 15:27:55.799467675 +0400 +++ new/src/java.security.jgss/share/classes/org/ietf/jgss/package.html 2015-04-08 15:27:55.523467688 +0400 @@ -2,7 +2,7 @@