Endless recursion when using SecurityManager

Thomas Hallgren thhal@mailblocks.com
Tue Feb 22 16:59:00 GMT 2005


Michael Koch wrote:

>On Mon, Feb 21, 2005 at 07:40:59PM +0100, Thomas Hallgren wrote:
>  
>
>>I'm trying to use a custom SecurityManager but as soon as I install it 
>>(or any other SecurityManager) using the System.setSecurityManager 
>>method, I get what seems to be an endless recursion. On the stack I see 
>>Class.getClassLoader calling ClassLoader.getSystemClassLoader which in 
>>turn seems to call Class.getClassLoader again.
>>
>>Since I don't know what the current state of the security features in 
>>gcj was/is, I thought I'd ask here before devoting more time to it. Is 
>>this a known issue?
>>
>>I'm using gcj (GCC) 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)
>>    
>>
>
>This isn't know afaik. We are just beginning to start really working on
>the security stuff. So its sure that there are many bugs and missing
>features. Please report a bug report with a small testcase to
>http://gcc.gnu.org/bugzilla/.
>
>
>Michael
>  
>
Filed as bug #20136.

Regards,
Thomas Hallgren




More information about the Java mailing list