This is the mail archive of the mauve-patches@sourceware.org mailing list for the Mauve project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi all, This commit extends the AccessController.getContext() checks I wrote on Tuesday. The original test checked that the returned context contained all protection domains in the call stack. With this commit it also checks that the returned context does not contain protection domains masked by calls to AccessController.doPrivileged(). This is actually what I was trying to achieve the other day before the lethal cocktail of heat, reflection and the AccessController Javadoc overcame me. Cheers, Gary PS If there's a competition for the most insane testcase then this is my entry.
Attachment:
patch
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |