19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
20 * or visit www.oracle.com if you need additional information or have any |
20 * or visit www.oracle.com if you need additional information or have any |
21 * questions. |
21 * questions. |
22 * |
22 * |
23 */ |
23 */ |
|
24 |
|
25 #ifndef SHARE_VM_CLASSFILE_CLASSFILEPARSER_HPP |
|
26 #define SHARE_VM_CLASSFILE_CLASSFILEPARSER_HPP |
|
27 |
|
28 #include "classfile/classFileStream.hpp" |
|
29 #include "memory/resourceArea.hpp" |
|
30 #include "oops/oop.inline.hpp" |
|
31 #include "oops/typeArrayOop.hpp" |
|
32 #include "runtime/handles.inline.hpp" |
|
33 #include "utilities/accessFlags.hpp" |
24 |
34 |
25 // Parser for for .class files |
35 // Parser for for .class files |
26 // |
36 // |
27 // The bytes describing the class file structure is read from a Stream object |
37 // The bytes describing the class file structure is read from a Stream object |
28 |
38 |
284 static void check_super_class_access(instanceKlassHandle this_klass, TRAPS); |
294 static void check_super_class_access(instanceKlassHandle this_klass, TRAPS); |
285 static void check_super_interface_access(instanceKlassHandle this_klass, TRAPS); |
295 static void check_super_interface_access(instanceKlassHandle this_klass, TRAPS); |
286 static void check_final_method_override(instanceKlassHandle this_klass, TRAPS); |
296 static void check_final_method_override(instanceKlassHandle this_klass, TRAPS); |
287 static void check_illegal_static_method(instanceKlassHandle this_klass, TRAPS); |
297 static void check_illegal_static_method(instanceKlassHandle this_klass, TRAPS); |
288 }; |
298 }; |
|
299 |
|
300 #endif // SHARE_VM_CLASSFILE_CLASSFILEPARSER_HPP |