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