equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
26 #define SHARE_VM_CLASSFILE_CLASSLOADEREXT_HPP |
26 #define SHARE_VM_CLASSFILE_CLASSLOADEREXT_HPP |
27 |
27 |
28 #include "classfile/classLoader.hpp" |
28 #include "classfile/classLoader.hpp" |
29 #include "oops/instanceKlass.hpp" |
29 #include "oops/instanceKlass.hpp" |
30 #include "runtime/handles.hpp" |
30 #include "runtime/handles.hpp" |
|
31 |
|
32 class ClassListParser; |
31 |
33 |
32 class ClassLoaderExt: public ClassLoader { // AllStatic |
34 class ClassLoaderExt: public ClassLoader { // AllStatic |
33 public: |
35 public: |
34 |
36 |
35 class Context { |
37 class Context { |
67 } |
69 } |
68 static void append_boot_classpath(ClassPathEntry* new_entry) { |
70 static void append_boot_classpath(ClassPathEntry* new_entry) { |
69 ClassLoader::add_to_list(new_entry); |
71 ClassLoader::add_to_list(new_entry); |
70 } |
72 } |
71 static void setup_search_paths() {} |
73 static void setup_search_paths() {} |
|
74 static Klass* load_one_class(ClassListParser* parser, TRAPS); |
72 }; |
75 }; |
73 |
76 |
74 #endif // SHARE_VM_CLASSFILE_CLASSLOADEREXT_HPP |
77 #endif // SHARE_VM_CLASSFILE_CLASSLOADEREXT_HPP |