classpath
[Top][All Lists]
Advanced

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

Infinite loop


From: Archie Cobbs
Subject: Infinite loop
Date: Wed, 09 Nov 2005 11:11:24 -0600
User-agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.3) Gecko/20041129

I'm adapting JCVM to work with a totally unmodified Classpath, but
doing so seems to cause an infinite loop in Mauve test
gnu.testlet.java.util.logging.Logger.getAnonymousLogger.

The infinite loop is simple:

  Class.getClassLoader() invokes VMStackWalker.getCallingClassLoader()
  VMStackWalker.getCallingClassLoader() invokes Class.getClassLoader()

It would be nice if VMStackWalker.getCallingClassLoader() could
invoke VMClass.getClassLoader(), but access permissions prevent that.

Any ideas? One idea is to move VMStackWalker into java.lang.

Thanks,
-Archie

__________________________________________________________________________
Archie Cobbs      *        CTO, Awarix        *      http://www.awarix.com




reply via email to

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