[logback-dev] I don't understand ClassPackagingDataCalculator :p

Ceki Gulcu listid at qos.ch
Tue Sep 23 22:48:15 CEST 2008



Thorbjørn Ravn Andersen wrote:
> Ceki Gulcu skrev:
>> classloaders. Sun's internal API is used to determine with *certainty* the class 
>> which corresponds to the class in the stack frame.
>>   
> 
> If you use Sun internal API's it most likely does not work on non-Sun 
> JVM's.   That might not be what you want to do.

Good point. However, I tested with IBM's JDK and BEA's jrockit. It seems to work 
fine.

-- 
Ceki Gülcü
Logback: The reliable, generic, fast and flexible logging framework for Java.
http://logback.qos.ch


More information about the logback-dev mailing list