src/share/vm/classfile/classFileParser.hpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File 6817525 Cdiff src/share/vm/classfile/classFileParser.hpp

src/share/vm/classfile/classFileParser.hpp

Print this page

        

*** 229,243 **** bool verify_unqualified_name(char* name, unsigned int length, int type); char* skip_over_field_name(char* name, bool slash_ok, unsigned int length); char* skip_over_field_signature(char* signature, bool void_ok, unsigned int length, TRAPS); bool is_anonymous() { ! assert(AnonymousClasses || _host_klass.is_null(), ""); return _host_klass.not_null(); } bool has_cp_patch_at(int index) { ! assert(AnonymousClasses, ""); assert(index >= 0, "oob"); return (_cp_patches != NULL && index < _cp_patches->length() && _cp_patches->adr_at(index)->not_null()); } --- 229,243 ---- bool verify_unqualified_name(char* name, unsigned int length, int type); char* skip_over_field_name(char* name, bool slash_ok, unsigned int length); char* skip_over_field_signature(char* signature, bool void_ok, unsigned int length, TRAPS); bool is_anonymous() { ! assert(EnableInvokeDynamic || _host_klass.is_null(), ""); return _host_klass.not_null(); } bool has_cp_patch_at(int index) { ! assert(EnableInvokeDynamic, ""); assert(index >= 0, "oob"); return (_cp_patches != NULL && index < _cp_patches->length() && _cp_patches->adr_at(index)->not_null()); }
*** 256,266 **** // Wrapper for constantTag.is_klass_[or_]reference. // In older versions of the VM, klassOops cannot sneak into early phases of // constant pool construction, but in later versions they can. // %%% Let's phase out the old is_klass_reference. bool is_klass_reference(constantPoolHandle cp, int index) { ! return ((LinkWellKnownClasses || AnonymousClasses) ? cp->tag_at(index).is_klass_or_reference() : cp->tag_at(index).is_klass_reference()); } public: --- 256,266 ---- // Wrapper for constantTag.is_klass_[or_]reference. // In older versions of the VM, klassOops cannot sneak into early phases of // constant pool construction, but in later versions they can. // %%% Let's phase out the old is_klass_reference. bool is_klass_reference(constantPoolHandle cp, int index) { ! return ((LinkWellKnownClasses || EnableInvokeDynamic) ? cp->tag_at(index).is_klass_or_reference() : cp->tag_at(index).is_klass_reference()); } public:
src/share/vm/classfile/classFileParser.hpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File