/[classpath]/classpath/java/lang/ClassLoader.java
ViewVC logotype

Diff of /classpath/java/lang/ClassLoader.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.20 by ericb, Wed Nov 13 03:48:51 2002 UTC revision 1.21 by tromey, Thu Dec 12 01:00:22 2002 UTC
# Line 409  public abstract class ClassLoader Line 409  public abstract class ClassLoader
409     *         do not match up     *         do not match up
410     * @since 1.2     * @since 1.2
411     */     */
412    protected final Class defineClass(String name, byte[] data, int offset,    protected final synchronized Class defineClass(String name, byte[] data,
413                                      int len, ProtectionDomain domain)                                                   int offset, int len,
414                                                     ProtectionDomain domain)
415      throws ClassFormatError      throws ClassFormatError
416    {    {
417      if (domain == null)      if (domain == null)
# Line 492  public abstract class ClassLoader Line 493  public abstract class ClassLoader
493     * @return the found Class, or null if it is not found     * @return the found Class, or null if it is not found
494     * @since 1.1     * @since 1.1
495     */     */
496    protected final Class findLoadedClass(String name)    protected final synchronized Class findLoadedClass(String name)
497    {    {
498      // NOTE: If the VM is keeping its own cache, it may make sense to have      // NOTE: If the VM is keeping its own cache, it may make sense to have
499      // this method be native.      // this method be native.

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26