This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Endless recursion when using SecurityManager
- From: Ranjit Mathew <rmathew at gmail dot com>
- To: Thomas Hallgren <thhal at mailblocks dot com>
- Cc: java at gcc dot gnu dot org
- Date: Tue, 22 Feb 2005 13:34:58 +0530
- Subject: Re: Endless recursion when using SecurityManager
- References: <cvd9pc$q0g$1@sea.gmane.org> <20050222003536.GE3525@papacharly.konqueror.de> <421AE3B9.1080503@mailblocks.com> <thhal-0O3z2Au/HxicUjeMuWoap7yqxW/T9+m@mailblocks.com> <thhal-0O3z2AvHHxice+W2xsnoqqTu2g/L0kj@mailblocks.com>
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/.
>
> Filed as bug #20136.
Once again, this is fixed in the current mainline.
I have closed the PR.
Sorry for doing this to your lovely bug reports.
Lovely, since your testcases are deliciously simple.
Do keep up the good work!
(And do try to grab current mainline from somewhere.)
Thanks,
Ranjit.
--
Ranjit Mathew Email: rmathew AT gmail DOT com
Bangalore, INDIA. Web: http://ranjitmathew.hostingzero.com/