Skip to content

Commit

Permalink
fix: class loader tree lack alibaba#2926
Browse files Browse the repository at this point in the history
  • Loading branch information
Raymond.Lam committed Oct 28, 2024
1 parent 87a3153 commit 99f4a4f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ public static List<ClassVO> createClassVOList(Collection<Class<?>> matchedClasse
public static ClassLoaderVO createClassLoaderVO(ClassLoader classLoader) {
ClassLoaderVO classLoaderVO = new ClassLoaderVO();
classLoaderVO.setHash(classLoaderHash(classLoader));
classLoaderVO.setName(classLoader==null?"BootstrapClassLoader":classLoader.toString());
classLoaderVO.setName(classLoader==null?"BootstrapClassLoader":classLoader.toString().replace("\r", ""));
ClassLoader parent = classLoader == null ? null : classLoader.getParent();
classLoaderVO.setParent(parent==null?null:parent.toString());
return classLoaderVO;
Expand Down

0 comments on commit 99f4a4f

Please sign in to comment.