Patch: FYI: partial Class merge

Michael Koch konqueror@gmx.de
Thu Jul 14 11:45:00 GMT 2005


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/



More information about the Java-patches mailing list