开发者

Names of System classloaders

What (default) system classloa开发者_如何学Pythonders can a Java applet expect to encounter in the Java ecosystem?

For instance, I have seen sun.misc.Launcher$AppClassLoader and sun.plugin2.applet.Applet2ClassLoader on my machine. What others can an applet expect to encounter?


few of them I found by giving -verbose option.

  • sun.reflect.DelegatingClassLoader
  • java.lang.ClassLoader$3
  • java.lang.ClassLoader$NativeLibrary
  • java.security.SecureClassLoader
  • java.net.URLClassLoader


This question is very much JVM-dependent. You can't really know which class loaders a given JVM will use.

Frankly speaking, your application shouldn't be too concerned with this either, especially if your running out of an applet.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜