This is the mail archive of the java@gcc.gnu.org mailing list for the Java 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: Endless recursion when using SecurityManager


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.


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