Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 Eclipse 调试器并在类初始化程序中设置断点(例如静态字段初始化)。
有没有办法确定/检查用于加载类的类加载器?
它应该是...
ClassA.class.getClassLoader();