equal
deleted
inserted
replaced
79 const Symbol* _requested_name; |
79 const Symbol* _requested_name; |
80 Symbol* _class_name; |
80 Symbol* _class_name; |
81 mutable ClassLoaderData* _loader_data; |
81 mutable ClassLoaderData* _loader_data; |
82 const Klass* _host_klass; |
82 const Klass* _host_klass; |
83 GrowableArray<Handle>* _cp_patches; // overrides for CP entries |
83 GrowableArray<Handle>* _cp_patches; // overrides for CP entries |
84 TempNewSymbol* _parsed_name; |
|
85 |
84 |
86 // Metadata created before the instance klass is created. Must be deallocated |
85 // Metadata created before the instance klass is created. Must be deallocated |
87 // if not transferred to the InstanceKlass upon successful class loading |
86 // if not transferred to the InstanceKlass upon successful class loading |
88 // in which case these pointers have been set to NULL. |
87 // in which case these pointers have been set to NULL. |
89 const InstanceKlass* _super_klass; |
88 const InstanceKlass* _super_klass; |
473 public: |
472 public: |
474 ClassFileParser(ClassFileStream* stream, |
473 ClassFileParser(ClassFileStream* stream, |
475 Symbol* name, |
474 Symbol* name, |
476 ClassLoaderData* loader_data, |
475 ClassLoaderData* loader_data, |
477 Handle protection_domain, |
476 Handle protection_domain, |
478 TempNewSymbol* parsed_name, |
|
479 const Klass* host_klass, |
477 const Klass* host_klass, |
480 GrowableArray<Handle>* cp_patches, |
478 GrowableArray<Handle>* cp_patches, |
481 Publicity pub_level, |
479 Publicity pub_level, |
482 TRAPS); |
480 TRAPS); |
483 |
481 |
512 AccessFlags access_flags() const { return _access_flags; } |
510 AccessFlags access_flags() const { return _access_flags; } |
513 |
511 |
514 bool is_internal() const { return INTERNAL == _pub_level; } |
512 bool is_internal() const { return INTERNAL == _pub_level; } |
515 |
513 |
516 static bool verify_unqualified_name(const char* name, unsigned int length, int type); |
514 static bool verify_unqualified_name(const char* name, unsigned int length, int type); |
|
515 |
|
516 #ifdef ASSERT |
|
517 static bool is_internal_format(Symbol* class_name); |
|
518 #endif |
|
519 |
517 }; |
520 }; |
518 |
521 |
519 #endif // SHARE_VM_CLASSFILE_CLASSFILEPARSER_HPP |
522 #endif // SHARE_VM_CLASSFILE_CLASSFILEPARSER_HPP |