
Thanks very much."the bootstrap ClassLoader can be represented as null" help me very much. Another question.When LoggerFactory.class.getClassLoader() will be bootstrapclassloader. I think BootStrapClassloader is always load jdk's class which path like 'jre/lib/* jre/classs/*'。org.slf4j.LoggerFacoty would not be loaded by Bootstrapclassloader? 2016-12-29 13:31 GMT+08:00 Nathan Green <ngreen@inco5.com>:
1. According to the docs for getClassLoader(), the bootstrap ClassLoader can be represented as null, which will cause loggerFactoryClassLoader to be null. 2. getSystemResources can return different results, depending on whether the system or bootstrap ClassLoader is used. getResources is tied to whatever ClassLoader instance is there, which isn't necessarily the system or bootstrap ClassLoader.
_______________________________________________ slf4j-dev mailing list slf4j-dev@qos.ch http://mailman.qos.ch/mailman/listinfo/slf4j-dev