classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: SecurityManager troubles


From: Jeroen Frijters
Subject: RE: SecurityManager troubles
Date: Wed, 11 Jan 2006 08:45:26 +0100

Guilhem Lavaux wrote:
> I have stumbled across a bug probably shared by all VMs using GNU 
> Classpath. In Apache Ant a SecurityManager is installed to be able to 
> execute java application without forking the VM. Thanks to the SM 
> exiting a VM is forbidden and so ant is protected from the 
> applications using System.exit(). However it causes us some troubles
> for the cases where we have not pre-loaded some core classes such as 
> java.security.Permission/java.security.Security (and probably some 
> other). I have attached with this email a testcase which summarises 
> quite well the situation.

After fixing some IKVM specific bugs, I was able to run the testcase
succesfully with only the attached GNU Classpath fix.

Can you please see if this patch improves things for you as well?

Regards,
Jeroen

Attachment: url.patch.txt
Description: url.patch.txt


reply via email to

[Prev in Thread] Current Thread [Next in Thread]