--- old/src/share/classes/java/security/SecurityPermission.java 2013-06-28 10:31:54.998376734 -0700 +++ new/src/share/classes/java/security/SecurityPermission.java 2013-06-28 10:31:54.842376737 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ * createAccessControlContext * Creation of an AccessControlContext * This allows someone to instantiate an AccessControlContext - * with a DomainCombiner. Extreme care must be taken when + * with a {@code DomainCombiner}. Extreme care must be taken when * granting this permission. Malicious code could create a DomainCombiner * that augments the set of permissions granted to code, and even grant the * code {@link java.security.AllPermission}. @@ -67,7 +67,7 @@ * getDomainCombiner * Retrieval of an AccessControlContext's DomainCombiner * This allows someone to retrieve an AccessControlContext's - * DomainCombiner. Since DomainCombiners may contain + * {@code DomainCombiner}. Since DomainCombiners may contain * sensitive information, this could potentially lead to a privacy leak. * * @@ -76,7 +76,7 @@ * Retrieval of the system-wide security policy (specifically, of the * currently-installed Policy object) * This allows someone to query the policy via the - * getPermissions call, + * {@code getPermissions} call, * which discloses which permissions would be granted to a given CodeSource. * While revealing the policy does not compromise the security of * the system, it does provide malicious code with additional information @@ -303,8 +303,8 @@ * * @param name the name of the SecurityPermission * - * @throws NullPointerException if name is null. - * @throws IllegalArgumentException if name is empty. + * @throws NullPointerException if {@code name} is {@code null}. + * @throws IllegalArgumentException if {@code name} is empty. */ public SecurityPermission(String name) @@ -320,8 +320,8 @@ * @param name the name of the SecurityPermission * @param actions should be null. * - * @throws NullPointerException if name is null. - * @throws IllegalArgumentException if name is empty. + * @throws NullPointerException if {@code name} is {@code null}. + * @throws IllegalArgumentException if {@code name} is empty. */ public SecurityPermission(String name, String actions)