From: Dr Andrew John Hughes <ahughes@redhat.com>
To: mauve-patches@sourceware.org
Subject: FYI: Recent test case additions
Date: Wed, 01 Dec 2010 21:02:00 -0000 [thread overview]
Message-ID: <20101201210156.GS23577@rivendell.middle-earth.co.uk> (raw)
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
reply other threads:[~2010-12-01 21:02 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20101201210156.GS23577@rivendell.middle-earth.co.uk \
--to=ahughes@redhat.com \
--cc=mauve-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).