src/java.base/share/classes/java/lang/ClassLoader.java
changeset 53120 de9fd809bb47
parent 53018 8bf9268df0e2
child 54206 003cc64366da
equal deleted inserted replaced
53119:375b10185c40 53120:de9fd809bb47
  1862      * the main class).
  1862      * the main class).
  1863      *
  1863      *
  1864      * <p> The default system class loader is an implementation-dependent
  1864      * <p> The default system class loader is an implementation-dependent
  1865      * instance of this class.
  1865      * instance of this class.
  1866      *
  1866      *
  1867      * <p> If the system property "{@code java.system.class.loader}" is defined
  1867      * <p> If the system property "{@systemProperty java.system.class.loader}"
  1868      * when this method is first invoked then the value of that property is
  1868      * is defined when this method is first invoked then the value of that
  1869      * taken to be the name of a class that will be returned as the system
  1869      * property is taken to be the name of a class that will be returned as the
  1870      * class loader.  The class is loaded using the default system class loader
  1870      * system class loader. The class is loaded using the default system class
  1871      * and must define a public constructor that takes a single parameter of
  1871      * loader and must define a public constructor that takes a single parameter
  1872      * type {@code ClassLoader} which is used as the delegation parent.  An
  1872      * of type {@code ClassLoader} which is used as the delegation parent. An
  1873      * instance is then created using this constructor with the default system
  1873      * instance is then created using this constructor with the default system
  1874      * class loader as the parameter.  The resulting class loader is defined
  1874      * class loader as the parameter.  The resulting class loader is defined
  1875      * to be the system class loader. During construction, the class loader
  1875      * to be the system class loader. During construction, the class loader
  1876      * should take great care to avoid calling {@code getSystemClassLoader()}.
  1876      * should take great care to avoid calling {@code getSystemClassLoader()}.
  1877      * If circular initialization of the system class loader is detected then
  1877      * If circular initialization of the system class loader is detected then