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


_______________________________________________
Classpath mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/classpath

Reply via email to