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 makes the test security manager compare permissions using p1.equals(p2) instead of p1.implies(p2). This ensures that we are testing that the permission we are checking is exactly the permission we expected. This is necessary for most of the networking tests. InetAddresss.getCanonicalHostName(), for example is supposed to check on the canonical hostname -- not the address -- yet testing using implies would happily allow either. 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] |