Remove comment about how parent-first loading improves JVM security; it isn't correct.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@371247 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -393,10 +393,6 @@
|
|||||||
<p>
|
<p>
|
||||||
Parent-first loading has been the standard mechanism in the JDK
|
Parent-first loading has been the standard mechanism in the JDK
|
||||||
class loader, at least since Java 1.2 introduced hierarchical classloaders.
|
class loader, at least since Java 1.2 introduced hierarchical classloaders.
|
||||||
The primary reason for this is safety -- parent-first
|
|
||||||
makes it impossible for malicious code to trick the JVM into
|
|
||||||
replacing a core class (say, <code>java.security.SecurityManager</code>) with a
|
|
||||||
class of the same name loaded from a child classloader.
|
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
Child-first classloading has the advantage of helping to improve isolation
|
Child-first classloading has the advantage of helping to improve isolation
|
||||||
|
|||||||
Reference in New Issue
Block a user