OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [gnu/] [gcj/] [runtime/] [ExtensionClassLoader.java] - Rev 756

Compare with Previous | Blame | View Log

/* Copyright (C) 1999, 2001, 2002, 2003, 2004, 2005  Free Software Foundation
 
   This file is part of libgcj.
 
This software is copyrighted work licensed under the terms of the
Libgcj License.  Please consult the file "LIBGCJ_LICENSE" for
details.  */
 
/* Author: Kresten Krab Thorup <krab@gnu.org>  */
 
package gnu.gcj.runtime;
 
import java.net.URL;
 
// The extension loader for libgcj.  Class loader bootstrap is a bit
// tricky, see prims.cc and SystemClassLoader for some details.
public final class ExtensionClassLoader extends HelperClassLoader
{
  private ExtensionClassLoader ()
  {	
  }
 
  private void init() 
  {
    addDirectoriesFromProperty("java.ext.dirs");
  }
 
  // This can be package-private because we only call it from native
  // code during startup.
  static void initialize ()
  {
    instance.init();
    system_instance.init();
  }
 
  // The only ExtensionClassLoader that can exist.
  static ExtensionClassLoader instance = new ExtensionClassLoader();
  // The system class loader.
  static SystemClassLoader system_instance = new SystemClassLoader(instance);
}
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.