final comments

This commit is contained in:
root 2020-08-13 16:10:01 +00:00
parent 9230a93045
commit 2fe9016a23
1 changed files with 2 additions and 2 deletions

View File

@ -11,9 +11,9 @@ public class Launcher {
}
private static void printClassesLoadedBy(String classLoaderType) {
System.out.println(classLoaderType + " ClassLoader : ");
Class<?>[] classes = ListLoadedClassesAgent.listLoadedClasses(classLoaderType);
Arrays.asList(classes)
.forEach(clazz -> System.out.println(
classLoaderType + " ClassLoader : " + clazz.getCanonicalName()));
.forEach(clazz -> System.out.println(clazz.getCanonicalName()));
}
}