commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robert burrell donkin <robertburrelldon...@blueyonder.co.uk>
Subject [logging] possible errors in child first cases [WAS Re: [logging] issues highlighted by analysis]
Date Mon, 25 Apr 2005 20:55:22 GMT
On Sun, 2005-04-24 at 23:59 -0700, Brian Stansberry wrote:
> --- robert burrell donkin

<snip>
 
> When I ran these, for every child-first case the
> sysout output said the caller was defined by the child
> loader.
> 
> [java] Caller        defined by CHILD  class loader
> 
> For 18, 20, 26, 28, 30 and 32, the overview says
> caller should be loaded by the parent.  Haven't had a
> chance to try to see why, but this could be the cause
> of some problems.

that's interesting. 

i've rerun the tests on my machine and all those tests seem to have the
caller defined correctly. (i don't seem to have anything which isn't
check in.) i'm running Java HotSpot(TM) Client VM (build 1.4.2_04-b05,
mixed mode) on linux at the moment. 

anyone else experiencing these problems?

- robert

     [java] Running case 18...
     [java] Child context classloader: false
     [java] Child first: true
     [java] JCL           defined by CHILD  class loader
     [java] Log4j         defined by CHILD  class loader
     [java] Static Logger defined by CHILD  class loader
     [java] Caller        defined by PARENT class loader

     [java] Running case 20...
     [java] Child context classloader: true
     [java] Child first: true
     [java] JCL           defined by CHILD  class loader
     [java] Log4j         defined by CHILD  class loader
     [java] Static Logger defined by CHILD  class loader
     [java] Caller        defined by PARENT class loader

     [java] Running case 26...
     [java] Child context classloader: false
     [java] Child first: true
     [java] JCL           defined by CHILD  class loader
     [java] Log4j         defined by CHILD  class loader
     [java] Static Logger defined by CHILD  class loader
     [java] Caller        defined by PARENT class loader

     [java] Running case 28...
     [java] Child context classloader: true
     [java] Child first: true
     [java] JCL           defined by CHILD  class loader
     [java] Log4j         defined by CHILD  class loader
     [java] Static Logger defined by CHILD  class loader
     [java] Caller        defined by PARENT class loader

     [java] Running case 30...
     [java] Child context classloader: false
     [java] Child first: true
     [java] JCL           defined by CHILD  class loader
     [java] Log4j         defined by CHILD  class loader
     [java] Static Logger defined by CHILD  class loader
     [java] Caller        defined by PARENT class loader

     [java] Running case 32...
     [java] Child context classloader: true
     [java] Child first: true
     [java] JCL           defined by CHILD  class loader
     [java] Log4j         defined by CHILD  class loader
     [java] Static Logger defined by CHILD  class loader
     [java] Caller        defined by PARENT class loader




---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message