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

Thorbjørn Ravn Andersen ravn at runjva.com
Wed Sep 24 18:08:41 CEST 2008


Ceki Gulcu skrev:
> 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.
>
>   
I believe they both use the Sun Java sources for the runtime (but 
probably not for the JVM).  Have you tried with a JVM that use GNU 
Classpath?

/Thorbjørn



More information about the logback-dev mailing list