This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Patch: FYI: partial Class merge
- From: Michael Koch <konqueror at gmx dot de>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: Java Patch List <java-patches at gcc dot gnu dot org>
- Date: Thu, 14 Jul 2005 12:55:07 +0200
- Subject: Re: Patch: FYI: partial Class merge
- References: <m3slzkbwu1.fsf@localhost.localdomain>
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/