This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Endless recursion when using SecurityManager
- From: Andrew Haley <aph at redhat dot com>
- To: Thomas Hallgren <thhal at mailblocks dot com>
- Cc: java at gcc dot gnu dot org
- Date: Mon, 21 Feb 2005 19:03:47 +0000
- Subject: Re: Endless recursion when using SecurityManager
- References: <cvd9pc$q0g$1@sea.gmane.org><16922.11222.361303.37247@cuddles.cambridge.redhat.com><421A2E33.3020809@mailblocks.com><thhal-0tsb1ArG/xicAd02fvOIcShR/E8MRRr@mailblocks.com>
Thomas Hallgren writes:
> Andrew Haley wrote:
>
> >Thomas Hallgren writes:
> > > 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?
> >
> >Yes. It's fixed in 4.0 (pre release).
> >
> >Andrew.
> >
> >
> Terriffic. I'm eager to try it out.
>
> Is there a good place to find a precompiled 4.0 for fc3 on i386?
Try http://download.fedora.redhat.com/pub/fedora/linux/core/development/i386/Fedora/RPMS/gcc4-java-4.0.0-0.27.i386.rpm
I think it's in there.
> If not, can I find a source bundle somewhere or should I use CVS?
> If CVS, does this pre-release have a tag? The reason I ask is that
> I find very little info about where to get 4.0 on the
> gcc.gnu.org/java website.
There's no 4.0 pre tag yet. This is very Alpha.
Andrew.