Can I dynamically unload and reload (other versions of the same) JAR?

前端 未结 6 782
北恋
北恋 2020-12-05 07:40

I am writing a server program which is used to run unit tests of an API (displaying lots of information and providing web access to control / monitor the whole thing)...<

6条回答
  •  再見小時候
    2020-12-05 08:34

    Probably not. The Java classloader doesn't really support run-time loading; even the available classloaders are hacks that use a proxy object.

提交回复
热议问题