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]

FYI: TestSecurityManager enhancement


Hi again,

This commit makes the test security manager inhibit checks except
within testcases.  It relies on the fact that all testcases must begin
with a call to prepareChecks() and end either when checkAllChecked()
is called or when checkPermission() throws an exception.  Because it
is known when testcases start and end, we can inhibit checking outside
of testcases.  This stops the security manager stomping on GCJ's line
number process, as well allowing a bunch of hacks to be removed.

Cheers,
Gary

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]