classpath
[Top][All Lists]
Advanced

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

AccessibleObject redundant check


From: Bryce McKinlay
Subject: AccessibleObject redundant check
Date: Sat, 25 Oct 2003 15:48:51 +1300

Anyone care to comment on this patch? Checking for whether we are setting accessibility on a member of AccessibleObject seems redundant, as code can only do that if it has already passed the SecurityManager check required to call setAccessible() in the first place (the check for java.lang.Class constructors, however, is specified by Sun's docs so we should probably keep that one).

Regards

Bryce.

Attachment: AccessibleObject.patch.txt
Description: Text document


reply via email to

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