* FYI: Recent test case additions
@ 2010-12-01 21:02 Dr Andrew John Hughes
0 siblings, 0 replies; only message in thread
From: Dr Andrew John Hughes @ 2010-12-01 21:02 UTC (permalink / raw)
To: mauve-patches
I've added a number of new test cases to Mauve as a result of
investigating http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42390
The earlier four below test for the first four issues in the bug.
While running these, I found that they would fail, despite the
security checks being present in the code. It appears that the
TestSecurityManager uses a Policy object to check for security calls
and this is ignored by the default SecurityManager on most GNU
Classpath VMs.
The latest change below adds a test to Mauve for this. I'll push a
fix for GNU Classpath's VMAccessController shortly, but my testing
shows that at least CACAO, JamVM and gij have their own copy that
needs updating.
2010-12-01 Andrew John Hughes <ahughes@redhat.com>
* gnu/testlet/TestSecurityManager.java:
Fix whitespace.
* gnu/testlet/java/security/Policy/setPolicy.java:
Test that the default security manager actually
uses the currently established policy. Our
TestSecurityManager relies on this.
2010-11-24 Andrew John Hughes <ahughes@redhat.com>
PR classpath/42390
* gnu/testlet/java/security/ProtectionDomain/Security.java
New test to ensure toString() does a getPolicy
check when not in debugging mode.
2010-11-15 Andrew John Hughes <ahughes@redhat.com>
PR classpath/42390
* gnu/testlet/java/io/File/security.java:
Add security manager checks for deleteOnExit,
exists, canRead, isFile, isDirectory, isHidden,
lastModified, length, canWrite, mkdir, mkdirs,
setLastModified.
2010-11-15 Andrew John Hughes <ahughes@redhat.com>
PR classpath/42390
* gnu/testlet/java/util/logging/LogManager/Security.java:
Add test for addPropertyChangeListener and
removePropertyChangeListener SecurityManager checks.
2010-11-15 Andrew John Hughes <ahughes@redhat.com>
PR classpath/42390
* Makefile.in,
* aclocal.m4,
* configure: Regenerated.
* gnu/testlet/java/io/ObjectOutputStream/security.java:
Add tests for ObjectOutputStream(OutputStream)
as reported in PR classpath/42390.
--
Andrew :)
Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)
Support Free Java!
Contribute to GNU Classpath and IcedTea
http://www.gnu.org/software/classpath
http://icedtea.classpath.org
PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
Fingerprint = F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-12-01 21:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-01 21:02 FYI: Recent test case additions Dr Andrew John Hughes
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).