--- old/src/share/classes/java/security/AccessControlContext.java 2013-06-27 23:05:09.037546594 -0700 +++ new/src/share/classes/java/security/AccessControlContext.java 2013-06-27 23:05:08.861546597 -0700 @@ -36,10 +36,10 @@ * based on the context it encapsulates. * *

More specifically, it encapsulates a context and - * has a single method, checkPermission, - * that is equivalent to the checkPermission method + * has a single method, {@code checkPermission}, + * that is equivalent to the {@code checkPermission} method * in the AccessController class, with one difference: The AccessControlContext - * checkPermission method makes access decisions based on the + * {@code checkPermission} method makes access decisions based on the * context it encapsulates, * rather than that of the current execution thread. * @@ -49,8 +49,8 @@ * different context (for example, from within a worker thread). * *

An AccessControlContext is created by calling the - * AccessController.getContext method. - * The getContext method takes a "snapshot" + * {@code AccessController.getContext} method. + * The {@code getContext} method takes a "snapshot" * of the current calling context, and places * it in an AccessControlContext object, which it returns. A sample call is * the following: @@ -61,7 +61,7 @@ * *

* Code within a different context can subsequently call the - * checkPermission method on the + * {@code checkPermission} method on the * previously-saved AccessControlContext object. A sample call is the * following: * @@ -121,7 +121,7 @@ * @param context the ProtectionDomains associated with this context. * The non-duplicate domains are copied from the array. Subsequent * changes to the array will not affect this AccessControlContext. - * @throws NullPointerException if context is null + * @throws NullPointerException if {@code context} is {@code null} */ public AccessControlContext(ProtectionDomain context[]) { @@ -147,22 +147,22 @@ } /** - * Create a new AccessControlContext with the given - * AccessControlContext and DomainCombiner. + * Create a new {@code AccessControlContext} with the given + * {@code AccessControlContext} and {@code DomainCombiner}. * This constructor associates the provided - * DomainCombiner with the provided - * AccessControlContext. + * {@code DomainCombiner} with the provided + * {@code AccessControlContext}. * *

* - * @param acc the AccessControlContext associated - * with the provided DomainCombiner. + * @param acc the {@code AccessControlContext} associated + * with the provided {@code DomainCombiner}. * - * @param combiner the DomainCombiner to be associated - * with the provided AccessControlContext. + * @param combiner the {@code DomainCombiner} to be associated + * with the provided {@code AccessControlContext}. * * @exception NullPointerException if the provided - * context is null. + * {@code context} is {@code null}. * * @exception SecurityException if a security manager is installed and the * caller does not have the "createAccessControlContext" @@ -320,13 +320,13 @@ } /** - * Get the DomainCombiner associated with this - * AccessControlContext. + * Get the {@code DomainCombiner} associated with this + * {@code AccessControlContext}. * *

* - * @return the DomainCombiner associated with this - * AccessControlContext, or null + * @return the {@code DomainCombiner} associated with this + * {@code AccessControlContext}, or {@code null} * if there is none. * * @exception SecurityException if a security manager is installed and