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: Tom Tromey
Subject: Re: [cp-patches] Patch: Add security check to Class.getClasses()
Date: 06 Dec 2005 11:15:55 -0700
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

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

Gary> Class.getClasses() was not performing the member access checks like it
Gary> ought.  The attached patch fixes.  I'm working on mauve tests for all
Gary> of Class's security calls so there will be a check for this issue
Gary> soonish.

Class.getClasses is directly calling memberAccessCheck before it
calls internalGetClasses.  Also supposedly getClasses should call
with Member.PUBLIC, not Member.DECLARED.  So it seems to me that this
patch is not needed.

Tom




reply via email to

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