47 #include "oops/fieldStreams.hpp"
48 #include "oops/instanceKlass.hpp"
49 #include "oops/instanceMirrorKlass.hpp"
50 #include "oops/klass.inline.hpp"
51 #include "oops/klassVtable.hpp"
52 #include "oops/metadata.hpp"
53 #include "oops/method.hpp"
54 #include "oops/oop.inline.hpp"
55 #include "oops/symbol.hpp"
56 #include "prims/jvm.h"
57 #include "prims/jvmtiExport.hpp"
58 #include "prims/jvmtiThreadState.hpp"
59 #include "runtime/javaCalls.hpp"
60 #include "runtime/perfData.hpp"
61 #include "runtime/reflection.hpp"
62 #include "runtime/signature.hpp"
63 #include "runtime/timer.hpp"
64 #include "services/classLoadingService.hpp"
65 #include "services/threadService.hpp"
66 #include "trace/traceMacros.hpp"
67 #include "utilities/exceptions.hpp"
68 #include "utilities/globalDefinitions.hpp"
69 #include "utilities/growableArray.hpp"
70 #include "utilities/macros.hpp"
71 #include "utilities/ostream.hpp"
72 #include "utilities/resourceHash.hpp"
73 #if INCLUDE_CDS
74 #include "classfile/systemDictionaryShared.hpp"
75 #endif
76
77 // We generally try to create the oops directly when parsing, rather than
78 // allocating temporary data structures and copying the bytes twice. A
79 // temporary area is only needed when parsing utf8 entries in the constant
80 // pool and when parsing line number tables.
81
82 // We add assert in debug mode when class format is not checked.
83
84 #define JAVA_CLASSFILE_MAGIC 0xCAFEBABE
85 #define JAVA_MIN_SUPPORTED_VERSION 45
86 #define JAVA_MAX_SUPPORTED_VERSION 53
|
47 #include "oops/fieldStreams.hpp"
48 #include "oops/instanceKlass.hpp"
49 #include "oops/instanceMirrorKlass.hpp"
50 #include "oops/klass.inline.hpp"
51 #include "oops/klassVtable.hpp"
52 #include "oops/metadata.hpp"
53 #include "oops/method.hpp"
54 #include "oops/oop.inline.hpp"
55 #include "oops/symbol.hpp"
56 #include "prims/jvm.h"
57 #include "prims/jvmtiExport.hpp"
58 #include "prims/jvmtiThreadState.hpp"
59 #include "runtime/javaCalls.hpp"
60 #include "runtime/perfData.hpp"
61 #include "runtime/reflection.hpp"
62 #include "runtime/signature.hpp"
63 #include "runtime/timer.hpp"
64 #include "services/classLoadingService.hpp"
65 #include "services/threadService.hpp"
66 #include "trace/traceMacros.hpp"
67 #include "utilities/bitMap.inline.hpp"
68 #include "utilities/exceptions.hpp"
69 #include "utilities/globalDefinitions.hpp"
70 #include "utilities/growableArray.hpp"
71 #include "utilities/macros.hpp"
72 #include "utilities/ostream.hpp"
73 #include "utilities/resourceHash.hpp"
74 #if INCLUDE_CDS
75 #include "classfile/systemDictionaryShared.hpp"
76 #endif
77
78 // We generally try to create the oops directly when parsing, rather than
79 // allocating temporary data structures and copying the bytes twice. A
80 // temporary area is only needed when parsing utf8 entries in the constant
81 // pool and when parsing line number tables.
82
83 // We add assert in debug mode when class format is not checked.
84
85 #define JAVA_CLASSFILE_MAGIC 0xCAFEBABE
86 #define JAVA_MIN_SUPPORTED_VERSION 45
87 #define JAVA_MAX_SUPPORTED_VERSION 53
|