亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? classloader.java

?? 這是個開源的JAVA虛擬機,可以直接RUN jar或class文件, 是個國外人寫的.想了解JAVA底層的朋友不能不看~!
?? JAVA
?? 第 1 頁 / 共 3 頁
字號:
/* ClassLoader.java -- responsible for loading classes into the VM   Copyright (C) 1998, 1999, 2001, 2002, 2003 Free Software Foundation, Inc.This file is part of GNU Classpath.GNU Classpath is free software; you can redistribute it and/or modifyit under the terms of the GNU General Public License as published bythe Free Software Foundation; either version 2, or (at your option)any later version.GNU Classpath is distributed in the hope that it will be useful, butWITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNUGeneral Public License for more details.You should have received a copy of the GNU General Public Licensealong with GNU Classpath; see the file COPYING.  If not, write to theFree Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA02111-1307 USA.Linking this library statically or dynamically with other modules ismaking a combined work based on this library.  Thus, the terms andconditions of the GNU General Public License cover the wholecombination.As a special exception, the copyright holders of this library give youpermission to link this library with independent modules to produce anexecutable, regardless of the license terms of these independentmodules, and to copy and distribute the resulting executable underterms of your choice, provided that you also meet, for each linkedindependent module, the terms and conditions of the license of thatmodule.  An independent module is a module which is not derived fromor based on this library.  If you modify this library, you may extendthis exception to your version of the library, but you are notobligated to do so.  If you do not wish to do so, delete thisexception statement from your version. */package java.lang;import java.io.InputStream;import java.io.IOException;import java.lang.reflect.Constructor;import java.net.URL;import java.security.CodeSource;import java.security.PermissionCollection;import java.security.Policy;import java.security.ProtectionDomain;import java.util.Enumeration;import java.util.HashMap;import java.util.Map;import gnu.java.util.DoubleEnumeration;import gnu.java.util.EmptyEnumeration;/** * The ClassLoader is a way of customizing the way Java gets its classes * and loads them into memory.  The verifier and other standard Java things * still run, but the ClassLoader is allowed great flexibility in determining * where to get the classfiles and when to load and resolve them. For that * matter, a custom ClassLoader can perform on-the-fly code generation or * modification! * * <p>Every classloader has a parent classloader that is consulted before * the 'child' classloader when classes or resources should be loaded. * This is done to make sure that classes can be loaded from an hierarchy of * multiple classloaders and classloaders do not accidentially redefine * already loaded classes by classloaders higher in the hierarchy. * * <p>The grandparent of all classloaders is the bootstrap classloader, which * loads all the standard system classes as implemented by GNU Classpath. The * other special classloader is the system classloader (also called * application classloader) that loads all classes from the CLASSPATH * (<code>java.class.path</code> system property). The system classloader * is responsible for finding the application classes from the classpath, * and delegates all requests for the standard library classes to its parent * the bootstrap classloader. Most programs will load all their classes * through the system classloaders. * * <p>The bootstrap classloader in GNU Classpath is implemented as a couple of * static (native) methods on the package private class * <code>java.lang.VMClassLoader</code>, the system classloader is an * instance of <code>gnu.java.lang.SystemClassLoader</code> * (which is a subclass of <code>java.net.URLClassLoader</code>). * * <p>Users of a <code>ClassLoader</code> will normally just use the methods * <ul> *  <li> <code>loadClass()</code> to load a class.</li> *  <li> <code>getResource()</code> or <code>getResourceAsStream()</code> *       to access a resource.</li> *  <li> <code>getResources()</code> to get an Enumeration of URLs to all *       the resources provided by the classloader and its parents with the *       same name.</li> * </ul> * * <p>Subclasses should implement the methods * <ul> *  <li> <code>findClass()</code> which is called by <code>loadClass()</code> *       when the parent classloader cannot provide a named class.</li> *  <li> <code>findResource()</code> which is called by *       <code>getResource()</code> when the parent classloader cannot provide *       a named resource.</li> *  <li> <code>findResources()</code> which is called by *       <code>getResource()</code> to combine all the resources with the *       same name from the classloader and its parents.</li> *  <li> <code>findLibrary()</code> which is called by *       <code>Runtime.loadLibrary()</code> when a class defined by the *       classloader wants to load a native library.</li> * </ul> * * @author John Keiser * @author Mark Wielaard * @author Eric Blake <ebb9@email.byu.edu> * @see Class * @since 1.0 * @status still missing 1.4 functionality */public abstract class ClassLoader{  /**   * All packages defined by this classloader. It is not private in order to   * allow native code (and trusted subclasses) access to this field.   */  final Map definedPackages = new HashMap();  /**   * The classloader that is consulted before this classloader.   * If null then the parent is the bootstrap classloader.   */  private final ClassLoader parent;  /**   * This is true if this classloader was successfully initialized.   * This flag is needed to avoid a class loader attack: even if the   * security manager rejects an attempt to create a class loader, the   * malicious class could have a finalize method which proceeds to   * define classes.   */  private final boolean initialized;  /**   * System/Application classloader: defaults to an instance of   * gnu.java.lang.SystemClassLoader, unless the first invocation of   * getSystemClassLoader loads another class loader because of the   * java.system.class.loader property. The initialization of this field   * is somewhat circular - getSystemClassLoader() checks whether this   * field is null in order to bypass a security check.   */  static final ClassLoader systemClassLoader =    VMClassLoader.getSystemClassLoader();  /**   * The default protection domain, used when defining a class with a null   * paramter for the domain.   */  static final ProtectionDomain defaultProtectionDomain;  static  {    CodeSource cs = new CodeSource(null, null);    PermissionCollection perm = Policy.getPolicy().getPermissions(cs);    defaultProtectionDomain = new ProtectionDomain(cs, perm);  }  /**   * The desired assertion status of classes loaded by this loader, if not   * overridden by package or class instructions.   */  // Package visible for use by Class.  boolean defaultAssertionStatus = VMClassLoader.defaultAssertionStatus();  /**   * The command-line state of the package assertion status overrides. This   * map is never modified, so it does not need to be synchronized.   */  // Package visible for use by Class.  static final Map systemPackageAssertionStatus    = VMClassLoader.packageAssertionStatus();  /**   * The map of package assertion status overrides, or null if no package   * overrides have been specified yet. The values of the map should be   * Boolean.TRUE or Boolean.FALSE, and the unnamed package is represented   * by the null key. This map must be synchronized on this instance.   */  // Package visible for use by Class.  Map packageAssertionStatus;  /**   * The command-line state of the class assertion status overrides. This   * map is never modified, so it does not need to be synchronized.   */  // Package visible for use by Class.  static final Map systemClassAssertionStatus    = VMClassLoader.classAssertionStatus();  /**   * The map of class assertion status overrides, or null if no class   * overrides have been specified yet. The values of the map should be   * Boolean.TRUE or Boolean.FALSE. This map must be synchronized on this   * instance.   */  // Package visible for use by Class.  Map classAssertionStatus;  /**   * Create a new ClassLoader with as parent the system classloader. There   * may be a security check for <code>checkCreateClassLoader</code>.   *   * @throws SecurityException if the security check fails   */  protected ClassLoader() throws SecurityException  {    this(systemClassLoader);  }  /**   * Create a new ClassLoader with the specified parent. The parent will   * be consulted when a class or resource is requested through   * <code>loadClass()</code> or <code>getResource()</code>. Only when the   * parent classloader cannot provide the requested class or resource the   * <code>findClass()</code> or <code>findResource()</code> method   * of this classloader will be called. There may be a security check for   * <code>checkCreateClassLoader</code>.   *   * @param parent the classloader's parent, or null for the bootstrap   *        classloader   * @throws SecurityException if the security check fails   * @since 1.2   */  protected ClassLoader(ClassLoader parent)  {    // May we create a new classloader?    SecurityManager sm = System.getSecurityManager();    if (sm != null)      sm.checkCreateClassLoader();    this.parent = parent;    this.initialized = true;  }  /**   * Load a class using this ClassLoader or its parent, without resolving   * it. Calls <code>loadClass(name, false)</code>.   *   * <p>Subclasses should not override this method but should override   * <code>findClass()</code> which is called by this method.   *   * @param name the name of the class relative to this ClassLoader   * @return the loaded class   * @throws ClassNotFoundException if the class cannot be found   */  public Class loadClass(String name) throws ClassNotFoundException  {    return loadClass(name, false);  }  /**   * Load a class using this ClassLoader or its parent, possibly resolving   * it as well using <code>resolveClass()</code>. It first tries to find   * out if the class has already been loaded through this classloader by   * calling <code>findLoadedClass()</code>. Then it calls   * <code>loadClass()</code> on the parent classloader (or when there is   * no parent it uses the VM bootclassloader)</code>). If the class is still   * not loaded it tries to create a new class by calling   * <code>findClass()</code>. Finally when <code>resolve</code> is   * <code>true</code> it also calls <code>resolveClass()</code> on the   * newly loaded class.   *   * <p>Subclasses should not override this method but should override   * <code>findClass()</code> which is called by this method.   *   * @param name the fully qualified name of the class to load   * @param resolve whether or not to resolve the class   * @return the loaded class   * @throws ClassNotFoundException if the class cannot be found   */  protected synchronized Class loadClass(String name, boolean resolve)    throws ClassNotFoundException  {    // Have we already loaded this class?    Class c = findLoadedClass(name);    if (c != null)      return c;    // Can the class be loaded by a parent?    try      {	if (parent == null)	  {	    c = VMClassLoader.loadClass(name, resolve);	    if (c != null)	      return c;	  }	else	  {	    return parent.loadClass(name, resolve);	  }      }    catch (ClassNotFoundException e)      {      }    // Still not found, we have to do it ourself.    c = findClass(name);    if (resolve)      resolveClass(c);    return c;  }  /**   * Called for every class name that is needed but has not yet been   * defined by this classloader or one of its parents. It is called by   * <code>loadClass()</code> after both <code>findLoadedClass()</code> and   * <code>parent.loadClass()</code> couldn't provide the requested class.   *   * <p>The default implementation throws a   * <code>ClassNotFoundException</code>. Subclasses should override this

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
中文字幕一区二区三区在线播放| 亚洲午夜激情av| 国产精品国产三级国产aⅴ无密码 国产精品国产三级国产aⅴ原创 | 欧美人伦禁忌dvd放荡欲情| 精品少妇一区二区三区| 亚洲色欲色欲www在线观看| 强制捆绑调教一区二区| 99精品在线免费| 精品国产欧美一区二区| 亚洲成人自拍一区| aaa欧美大片| 久久综合九色综合97婷婷| 亚洲国产精品一区二区久久| 丁香激情综合五月| 欧美一卡2卡3卡4卡| 一区二区三区在线视频免费观看| 国产激情视频一区二区三区欧美| 欧美一二三四在线| 亚洲动漫第一页| 色噜噜狠狠一区二区三区果冻| 国产欧美一区二区精品婷婷| 老司机精品视频在线| 欧美亚洲禁片免费| 亚洲三级在线观看| 99久久精品免费精品国产| 国产亚洲一区二区在线观看| 久久国产精品色婷婷| 777午夜精品免费视频| 亚洲一区二区三区爽爽爽爽爽| 99国产麻豆精品| 国产精品全国免费观看高清| 国产精品88av| 国产亲近乱来精品视频 | 国产麻豆9l精品三级站| 欧美成人性福生活免费看| 日本伊人色综合网| 91麻豆精品国产91久久久久| 天天色 色综合| 日韩一区二区三区在线观看| 蜜臀国产一区二区三区在线播放 | 色婷婷av一区二区三区之一色屋| 1000部国产精品成人观看| av午夜一区麻豆| 亚洲免费在线看| 欧美日韩在线播放三区| 日韩 欧美一区二区三区| 91精品在线观看入口| 久久99精品国产麻豆婷婷洗澡| 精品国产乱子伦一区| 国产很黄免费观看久久| 国产精品免费看片| 欧美性猛交xxxx黑人交| 日韩黄色片在线观看| 精品入口麻豆88视频| 成人一区二区三区中文字幕| 亚洲欧美自拍偷拍色图| 欧美男男青年gay1069videost| 日韩1区2区3区| 国产日韩欧美综合一区| 日本高清不卡在线观看| 日韩国产高清在线| 亚洲国产精品av| 欧美艳星brazzers| 国产综合色产在线精品| 亚洲精品欧美激情| 国产欧美日韩激情| 欧美日韩亚洲高清一区二区| 九一久久久久久| 亚洲欧美日韩一区二区 | 日韩精品欧美精品| 国产日韩亚洲欧美综合| 欧美性色黄大片手机版| 精品亚洲成a人在线观看| 亚洲欧美日韩国产一区二区三区 | 日本v片在线高清不卡在线观看| 久久蜜桃香蕉精品一区二区三区| 99精品视频在线播放观看| 婷婷久久综合九色综合伊人色| 久久精品亚洲乱码伦伦中文| 欧美中文字幕一区二区三区| 国产白丝精品91爽爽久久| 亚洲成人免费视频| 国产视频一区在线观看 | 青青草国产成人99久久| 亚洲图片另类小说| 亚洲精品在线免费观看视频| 欧美主播一区二区三区美女| 成人午夜又粗又硬又大| 免费在线视频一区| 亚洲黄色免费网站| 国产精品久久午夜| 久久久久久久久蜜桃| 91精品国产色综合久久ai换脸| caoporn国产精品| 国产伦精品一区二区三区免费迷| 亚洲第一综合色| 亚洲免费在线看| 国产精品色噜噜| 午夜伦理一区二区| 亚洲综合小说图片| 亚洲欧美国产77777| 国产视频一区二区在线| 欧美大肚乱孕交hd孕妇| 制服丝袜av成人在线看| 精品视频在线免费观看| 色www精品视频在线观看| 99视频精品全部免费在线| 成人精品视频网站| 国产91精品欧美| 国产·精品毛片| 国产成人在线影院 | 中文字幕欧美激情一区| 国产午夜精品美女毛片视频| 欧美成人r级一区二区三区| 这里只有精品电影| 在线播放国产精品二区一二区四区| 91黄色免费版| 在线看国产一区| 欧洲亚洲精品在线| 欧美日韩综合色| 日韩一本二本av| 2023国产精品自拍| 欧美国产欧美综合| 日韩一区欧美一区| 一片黄亚洲嫩模| 日韩精品一区第一页| 日韩av电影天堂| 精品在线一区二区三区| 国产精品1区二区.| av中文字幕一区| 欧美伊人久久大香线蕉综合69| 国产亚洲美州欧州综合国| 国产农村妇女毛片精品久久麻豆| 国产精品卡一卡二卡三| 亚洲三级免费观看| 亚洲成人福利片| 久久99精品国产.久久久久| 国产 欧美在线| 日本韩国欧美三级| 欧美一二三四区在线| 国产三级欧美三级| 亚洲另类色综合网站| 日本欧美加勒比视频| 国产精品白丝jk黑袜喷水| 9i看片成人免费高清| 欧美精品vⅰdeose4hd| 精品区一区二区| 亚洲欧美另类综合偷拍| 日韩成人免费看| 成人午夜视频福利| 欧美日韩国产另类一区| 久久久美女艺术照精彩视频福利播放| 中文字幕在线播放不卡一区| 日韩和的一区二区| 不卡高清视频专区| 欧美三区在线观看| 国产免费观看久久| 天涯成人国产亚洲精品一区av| 国产精品91一区二区| 欧美日韩情趣电影| 国产精品久久久久久亚洲伦| 日韩高清电影一区| 91理论电影在线观看| 日韩免费视频一区二区| 亚洲精品日韩专区silk| 国产乱淫av一区二区三区| 欧美日韩久久一区二区| 中文av一区特黄| 久久99久久久久久久久久久| 在线观看免费一区| 国产精品伦一区| 国内精品在线播放| 国产精品欧美经典| 精品一区精品二区高清| 欧美日韩精品三区| 中文字幕亚洲区| 韩国精品主播一区二区在线观看| 在线观看av不卡| 亚洲男人的天堂网| 粉嫩欧美一区二区三区高清影视| 欧美日韩一区二区在线视频| 国产午夜亚洲精品午夜鲁丝片| 丝袜美腿成人在线| 欧美色图天堂网| 亚洲免费观看高清完整版在线观看熊| 国产精品一区一区| 欧美精品一区二区久久婷婷 | 国内精品久久久久影院色| 欧美日韩中文字幕一区二区| 亚洲天堂av老司机| 成a人片亚洲日本久久| 国产亚洲婷婷免费| 国产一区二区三区精品欧美日韩一区二区三区 | 精品亚洲成a人在线观看| 欧美一级高清片在线观看| 天堂午夜影视日韩欧美一区二区| 欧美日韩一区高清| 午夜日韩在线观看| 制服丝袜中文字幕一区| 日本少妇一区二区|