Hi Robert,

I've found a small but critical problem with the "demonstration" harness
in class ClassLoaderRunner. When the test is *not* using a
context-classloader, the previous test's setting is not being cleared.

Without this patch, the following tests report "Log4JLogger does not
implement Log": 
  5, 6, 9, 10, 13, 14, 20, 21, 22, 24, 25, 26, 28, 29, 30, 32

With this patch, the following tests report this error:  
  17, 20, 21, 24, 28, 32

ClassLoaderRunner.java:
         if (setContextClassloader) {
             Thread.currentThread().setContextClassLoader(child);
+        } else {
+            Thread.currentThread().setContextClassLoader(parent);
         }


Regards,

Simon


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to