equal
deleted
inserted
replaced
32 |
32 |
33 /** |
33 /** |
34 * BootClassLoaderHook defines an interface for a hook to inject |
34 * BootClassLoaderHook defines an interface for a hook to inject |
35 * into the bootstrap class loader. |
35 * into the bootstrap class loader. |
36 * |
36 * |
37 * In jkernel build, the sun.jkernel.DownloadManager is set as |
37 * With jkernel now removed, no hook is set |
38 * a BootClassLoaderHook by the jkernel VM after the VM is initialized. |
|
39 * |
|
40 * In other JDK builds, no hook is set. |
|
41 */ |
38 */ |
42 public abstract class BootClassLoaderHook { |
39 public abstract class BootClassLoaderHook { |
43 private static BootClassLoaderHook bootLoaderHook = null; |
40 private static BootClassLoaderHook bootLoaderHook = null; |
44 public static synchronized BootClassLoaderHook getHook() { |
41 public static synchronized BootClassLoaderHook getHook() { |
45 return bootLoaderHook; |
42 return bootLoaderHook; |