TomcatEmbeddedWebappClassLoader 导致 classloader -l命令输出结果错位
Open
bug
- Dominant language
- Java
- Stars
- 37.5k
- Forks
- 7.6k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 4
Description
执行`classloader -l`可以发现有一些奇怪的错位输出:

再用vim打开,可以发现实际上是 TomcatEmbeddedWebappClassLoader 的toString() 函数导致的:

---
考虑对 `ClassLoader#toString()` 函数做处理下?
Contributor guide
Research direction
Reproduce the misaligned output with the `classloader -l` command and inspect `TomcatEmbeddedWebappClassLoader` together with `ClassLoader#toString()`. Confirm that the class-loader string is responsible for the formatting issue, then verify that the command output remains aligned after the handling is adjusted.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- cli, devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100