Hi Joern,

Only the name of the class is available in StackTraceElement, not the actual 
class.  The Class.forName(String className) method is not guaranteed to get the 
correct results, especially if the class in question can be found in multiple 
classloaders. Sun's internal API is used to determine with *certainty* the 
class 
which corresponds to the class in the stack frame.

Joern Huxhorn wrote:
> Hi Ceki.
> 
> I was just checking out ClassPackagingDataCalculator because I wanted to
> see what the warning

[snip]

> Regards, Joern.

-- 
Ceki Gülcü
Logback: The reliable, generic, fast and flexible logging framework for Java.
http://logback.qos.ch
_______________________________________________
logback-dev mailing list
[email protected]
http://qos.ch/mailman/listinfo/logback-dev

Reply via email to