Class loader namespace problems.
类装入器命名空间问题。
Class loader constraint problems.
类装入器约束问题。
Bootstrap isn't the only class loader.
引导程序不是唯一的类装入器。
NextGen example: Modified class loader.
NextGen示例:修改的类装入器。
Avoiding class loader constraint violations.
避免类装入器约束违反。
Resolving class loader constraint violations
解决类装入器约束违反
Lists of classes loaded by each class loader.
每个类装入器装入的类的列表。
Next is the class loader cache initialization.
下一步是类装载器缓存初始化。
It USES the system class loader to achieve this.
它使用系统类装载程序来达到这个目的。
This particular class loader has some special features.
这个特殊的类装入器有一些专门的特性。
The garbage collector interacts closely with the class loader.
垃圾收集器与类装入器的交互很密切。
Notice that there is no output for the bootstrap class loader.
请注意,引导类装入器没有输出。
The extension class loader (sun/misc/Launcher$ExtClass loader)
扩展类装入器(sun/misc/Launcher$ExtClassLoader)
Each class has a reference to the class loader that defined it.
每个类都有一个对其类装载器的引用。
For example, suppose you have a class loader called MyClassLoader.
例如,假设您有一个名为MyClassLoader的类加载器。
Class loader constraints ensure the consistency of the class space in the JVM.
类装入器约束保证了类空间在JVM中的一致性。
The proxy will create one instance of a class loader for each XML schema version.
代理将为每个XML模式版本创建一个类实例。
By default, this class loader is the parent of any class loader created by the user.
默认情况下,这个类装入器是用户创建的任何类装入器的父类。
It also indicates which class loader loads a given class and where it loads it from.
它还可以指出指定类是由哪个类装入器装入的、从哪里装入的。
The ClassLoader loaded classes section lists the classes loaded by each class loader.
类装入器装入的类部分列出了每个类装入器装入的类。
The parent of this class loader will be the class loader of the current thread context.
类加载器的父类加载器将是当前线程上下文的类加载器。
The class loader has a fairly tight security manager in place that restricts malicious calls.
类加载器有一个十分严格的安全管理器来限制恶意调用。
Change class loader order to Classes loaded with local class loader first (parent last).
将class loaderorder更改为Classesloadedwithlocal class loaderfirst (parentlast)。
When the class loader is dereferenced, the classes that it loaded are not garbage collectable.
当取消对类装入器的引用时,它装入的类就变成无法进行垃圾收集的了。
The method now delegates to its parent class loader before attempting to find the class itself.
方法现在在试图自己找到类之前,先委托给自己的双亲类装入器。
This implementation assumes that all classes required are on the classpath of this class loader.
这个实现假设所有需要的类都在这个类装入器的类路径中。
Because all four conditions hold, this situation results in a class loader constraint violation.
因为四个条件全部成立,所以这种情况会导致类装入器约束违反。
But how can that work if the class loader looks for existing class files for each class it loads?
但是,如果类装入器为它所装入的每个类查找现有类文件,那么它会如何工作呢?
A class loader namespace is a combination of a class loader and all the classes that it has loaded.
类装入器的命名空间是类装入器和它装入的所有类的组合。
It also shows class loader information — again, this is simple because the application is so simple.
它还展示了类加载器信息——再说一遍,这很简单,因为应用程序太简单了。
应用推荐