This is the mail archive of the mauve-patches@sources.redhat.com 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]

Re: gnu/testlet/java/lang/Thread/security10.java...


Michael Koch wrote:
Am Dienstag, 18. Januar 2005 20:04 schrieb David Daney:

David Daney wrote:


After further thought, it is not a security policy problem. Your security manager always throws SecurityException on any Thread method. Sun's jre is trying to create a new Thread when System.runFinalization() is called, and will always fail with your SecurityManager installed.

Perhaps you should save a reference to the original SecurityManager
and restore it when the test is finished.  That would leave the
test harness in the same state after the Thread.security10 test as
before.


Hmmm, setting "null" should be enough as no SecurityManager may be set initiallly.

Daney: Can you try if this works for you ?


I could be several days before I can try it.


David Daney.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]