classpath
[Top][All Lists]
Advanced

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

Re: mauve results posted nightly


From: Mark Wielaard
Subject: Re: mauve results posted nightly
Date: 18 Nov 2002 11:51:35 +0100

Hi,

On Mon, 2002-11-18 at 04:42, Stephen Crawley wrote:
> This is probably how it happened.  Loading Collections$SynchronizedSet
> has triggered loading of another class Y, and Y's static initialisation
> code has tried to use something in Collections$SynchronizedSet.  This
> has caused the class loader to "FindOrLoad" Collections$SynchronizedSet
> a second time, and the initialisation has run.  Finally, the class
> loader call that originally tried to load Collections$SynchronizedSet
> notices that the copy of the class the CPList is not the one it loaded,
> and panics.

I am using the following as a temporary workaround at the moment:

--- vm/classloader_tuple.c      23 Oct 2002 13:26:54 -0000      1.25
+++ vm/classloader_tuple.c      18 Nov 2002 10:48:44 -0000
@@ -312,8 +312,9 @@
                   pstClass->uidName, pstClass, pstClass->classLoader);
     }
     else {
-      panic("Class %s %p (%p) loaded twice",
+      eprintf("Class %s %p (%p) loaded twice",
            pstClass->uidName, pstClass, pstClass->classLoader);
+      return pstTempClass;
     }
   }
   else {

Hope that helps you get further with your tests for now.

Cheers,

Mark





reply via email to

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