为什么 eclipse 和 cmd 运行 jar,运行的类不一致?
資深大佬 : miaeLKK 15
https://imgchr.com/i/rPib9g 如图,eclipse 调试,程序跑到了 AppenderAction 类,然后我把这个工程打成 jar,在 jar 包里删除了这个 class,jar 包仍然运行? cmd 和 eclipse 云的是同一个 jre,为了排除 jvm 类缓存问题我也重启电脑了,为什么呢?
大佬有話說 (3)
https://imgchr.com/i/rPib9g 如图,eclipse 调试,程序跑到了 AppenderAction 类,然后我把这个工程打成 jar,在 jar 包里删除了这个 class,jar 包仍然运行? cmd 和 eclipse 云的是同一个 jre,为了排除 jvm 类缓存问题我也重启电脑了,为什么呢?