[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cp-patches] Patch: Add security check to Class.getClasses()
From: |
Gary Benson |
Subject: |
Re: [cp-patches] Patch: Add security check to Class.getClasses() |
Date: |
Fri, 9 Dec 2005 10:53:49 +0000 |
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.
Cheers,
Gary