< prev index next >
src/jdk.xml.bind/share/classes/com/sun/istack/internal/tools/ParallelWorldClassLoader.java
Print this page
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
@@ -55,13 +55,13 @@
* +- X.class
* +- bar
* +- X.class
* </pre>
* <p>
- * {@link ParallelWorldClassLoader}("foo/") would load {@code X.class} from
- * {@code /foo/X.class} (note that X is defined in the root package, not
- * {@code foo.X}.
+ * {@link ParallelWorldClassLoader}("foo/") would load <tt>X.class</tt> from
+ * <tt>/foo/X.class</tt> (note that X is defined in the root package, not
+ * <tt>foo.X</tt>.
*
* <p>
* This can be combined with {@link MaskingClassLoader} to mask classes which are loaded by the parent
* class loader so that the child class loader
* classes living in different folders are loaded
@@ -75,17 +75,15 @@
* +- bar
* +-foo
* +- X.class
* </pre>
* <p>
- * {@link ParallelWorldClassLoader}(MaskingClassLoader.class.getClassLoader())
- * would load {@code foo.X.class} from
- * {@code /bar/foo.X.class} not the {@code foo.X.class}
- * in the publicly visible place in the jar file, thus
- * masking the parent classLoader from loading the class from {@code foo.X.class}
+ * {@link ParallelWorldClassLoader}(MaskingClassLoader.class.getClassLoader()) would load <tt>foo.X.class</tt> from
+ * <tt>/bar/foo.X.class</tt> not the <tt>foo.X.class</tt> in the publicly visible place in the jar file, thus
+ * masking the parent classLoader from loading the class from <tt>foo.X.class</tt>
* (note that X is defined in the package foo, not
- * {@code bar.foo.X}.
+ * <tt>bar.foo.X</tt>.
*
* @author Kohsuke Kawaguchi
*/
public class ParallelWorldClassLoader extends ClassLoader implements Closeable {
< prev index next >