This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch: FYI: partial Class merge


On Tue, Jun 14, 2005 at 12:46:30PM -0600, Tom Tromey wrote:

> @@ -739,18 +769,6 @@
>    // can't add fields to java.lang.Class that are accessible from Java.
>    private native ProtectionDomain getProtectionDomain0();
>  
> -  /**
> -   * Returns the protection domain of this class. If the classloader did not
> -   * record the protection domain when creating this class the unknown
> -   * protection domain is returned which has a <code>null</code> code source
> -   * and all permissions.
> -   *
> -   * @return the protection domain
> -   * @throws SecurityException if the security manager exists and the caller
> -   * does not have <code>RuntimePermission("getProtectionDomain")</code>.
> -   * @see RuntimePermission
> -   * @since 1.2
> -   */
>    public ProtectionDomain getProtectionDomain()
>    {
>      SecurityManager sm = System.getSecurityManager();

Why do you remove javadocs from a public method? Wouldnt it be better to leave
and add it to GNU classpath?


Michael
-- 
Escape the Java Trap with GNU Classpath!
http://www.gnu.org/philosophy/java-trap.html

Join the community at http://planet.classpath.org/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]