<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" 
  xmlns:content="http://purl.org/rss/1.0/modules/content/" 
  xmlns:dc="http://purl.org/dc/elements/1.1/" 
  xmlns:atom="http://www.w3.org/2005/Atom" 
  xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" 
  xmlns:media="http://search.yahoo.com/mrss/">
  <channel>
    <title>Classloader on Mark 的滿紙方糖言</title>
    <link>https://blog.mygraphql.com/zh/tags/classloader/</link>
    <description>Recent content in Classloader on Mark 的滿紙方糖言</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>zh</language>
    <managingEditor>labile.zhu@gmail.com (Mark Zhu)</managingEditor>
    <webMaster>labile.zhu@gmail.com (Mark Zhu)</webMaster>
    <copyright>Mark Zhu ©2026, All Rights Reserved</copyright>
    <lastBuildDate>Thu, 01 Apr 2021 15:12:15 +0900</lastBuildDate>
    
        <atom:link href="https://blog.mygraphql.com/zh/tags/classloader/index.xml" rel="self" type="application/rss+xml" />
    

      
      <item>
        <title>Java 内置 Class Loader</title>
        <link>https://blog.mygraphql.com/zh/notes/java/classloader/builtin/</link>
        <pubDate>Thu, 01 Apr 2021 15:12:15 +0900</pubDate>
        <author>labile.zhu@gmail.com (Mark Zhu)</author>
        <atom:modified>Thu, 01 Apr 2021 15:12:15 +0900</atom:modified>
        <guid>https://blog.mygraphql.com/zh/notes/java/classloader/builtin/</guid>
        <description>&lt;h2 id=&#34;内置-classloader&#34;&gt;内置 Classloader&lt;/h2&gt;
&lt;p&gt;&lt;img src=&#34;https://blog.mygraphql.com/zh/notes/java/classloader/builtin/index.assets/clhierarchy.gif&#34; alt=&#34;The class loader delegation model&#34;&gt;&lt;/p&gt;
&lt;p&gt;Class loaders load classes and resources present on their respective classpath:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;System or application class loaders load classes from the application classpath&lt;/li&gt;
&lt;li&gt;Extension class loaders search on the Extension classpath (&lt;em&gt;JRE/lib/ext&lt;/em&gt;)&lt;/li&gt;
&lt;li&gt;Bootstrap class loader looks on the Bootstrap classpath (&lt;em&gt;JRE/lib/rt.jar&lt;/em&gt;)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;We can customize the default class loading behavior as well. We can explicitly specify the class loader while loading a class dynamically.&lt;/p&gt;
&lt;p&gt;However, we should note that if we load the same class from different types of class loaders, these will be seen as different resources by the JVM.&lt;/p&gt;</description>
        
        <dc:creator>Mark Zhu</dc:creator>
        
        
        
        
          
            
              <category>java</category>
            
          
            
              <category>classloader</category>
            
          
        
        
        
      </item>
      

    
  </channel>
</rss>
