首页 > 其他 > 详细

class-loader.

时间:2014-04-19 15:09:56      阅读:563      评论:0      收藏:0      [点我收藏+]

bubuko.com,布布扣

          the jdk hierarchical relationship of class-loader

      

----Module Class Loading and Bootstrapping----

bootstrap loader:

   *loads primordial classes and core module system classes.

Base module loader

  *loads non-core module system classes and all other classes in the base module.

 

ref:

Project Jigsaw: Module Class Loading and Bootstrapping

 

----How Classes are Found----

  how the ‘java(java launcher)‘ finds classes:

  the vm searches for and loads classes in the order of:

  a,bootstrap classes,which compriss the java platform,including the classes in the rt.jar and other important .jar files.

  b,extension classes,which use the java extension mechanism,bundled as .jar files in the “lib/ext” extension directory.

  c,user(defined) classes,which were definded by developers and third parties that does not take advantage of the extension mechanism(identify these classes using the -classpath option).

  more info for How Classes are Found

  

class-loader.,布布扣,bubuko.com

class-loader.

原文:http://www.cnblogs.com/listened/p/3674680.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!