This is the mail archive of the mauve-discuss@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]

Re: Am I doing something wrong?


On Tue, 2008-06-24 at 17:42 -0700, David Herron wrote:
> Just to try out Mauve I'm running it on my OS X machine with Apple's Java. 

Hi David!

I also want to run nightly Mauve tests with OpenJDK and I'm having some
problems with the security checks, like:

$ java Harness -vm java -showpasses -debug gnu/testlet/java/lang/Runtime/security.class 
WARNING: running tests on 'java'.  To set the test VM, use --with-vm when
configuring or specify -vm when running the Harness.

checkPermission((java.io.FilePermission /bin/true execute))
checkPermission((java.lang.RuntimePermission writeFileDescriptor))
unexpected check: (java.lang.RuntimePermission writeFileDescriptor)
expected: mustCheck: (java.io.FilePermission /bin/true execute)
expected: mayCheck: (java.lang.RuntimePermission modifyThread) (java.lang.RuntimePermission modifyThreadGroup)
Exception in thread "process reaper" java.lang.SecurityException: unexpected check: (java.lang.RuntimePermission writeFileDescriptor)
	at gnu.testlet.TestSecurityManager.checkPermission(TestSecurityManager.java:317)
	at java.lang.SecurityManager.checkWrite(SecurityManager.java:954)
	at java.io.FileOutputStream.<init>(FileOutputStream.java:234)
	at java.lang.UNIXProcess$1$1$1.run(UNIXProcess.java:139)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.lang.UNIXProcess$1$1.run(UNIXProcess.java:136)

Do you have an idea how we could fix them?  Of course I could disable
them, but...

- twisti


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