classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cp-patches] Patch: Add security check to Class.getClasses()


From: David Daney
Subject: Re: [cp-patches] Patch: Add security check to Class.getClasses()
Date: Fri, 09 Dec 2005 09:17:28 -0800
User-agent: Mozilla Thunderbird 1.0.7-1.1.fc3 (X11/20050929)

Gary Benson wrote:
Tom Tromey wrote:

"Gary" == Gary Benson <address@hidden> writes:

Gary> http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Class.html#getClasses()
Gary>     "For this class _and_each_of_its_superclasses_, the
Gary>     following security checks are performed: If there is a
Gary>     security manager, the security manager's checkMemberAccess
Gary>     method is called with this and Member.PUBLIC...".

Interesting.  The 1.5 text is different.


Indeed, no superclass checks.  Interesting.

Perhaps the verifier checks make it unnecessary.

David Daney.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]