src/share/vm/classfile/classFileParser.cpp

changeset 6853
ccfff14361ea
parent 6838
4930a95e6ef5
parent 6803
9f169829d0e1
child 6876
710a3c8b516e
child 7241
8cb56c8cb30d
equal deleted inserted replaced
6852:5bb683bbe2c7 6853:ccfff14361ea
4035 4035
4036 this_klass->set_minor_version(minor_version); 4036 this_klass->set_minor_version(minor_version);
4037 this_klass->set_major_version(major_version); 4037 this_klass->set_major_version(major_version);
4038 this_klass->set_has_default_methods(has_default_methods); 4038 this_klass->set_has_default_methods(has_default_methods);
4039 4039
4040 if (!host_klass.is_null()) {
4041 assert (this_klass->is_anonymous(), "should be the same");
4042 this_klass->set_host_klass(host_klass());
4043 }
4044
4040 // Set up Method*::intrinsic_id as soon as we know the names of methods. 4045 // Set up Method*::intrinsic_id as soon as we know the names of methods.
4041 // (We used to do this lazily, but now we query it in Rewriter, 4046 // (We used to do this lazily, but now we query it in Rewriter,
4042 // which is eagerly done for every method, so we might as well do it now, 4047 // which is eagerly done for every method, so we might as well do it now,
4043 // when everything is fresh in memory.) 4048 // when everything is fresh in memory.)
4044 if (Method::klass_id_for_intrinsics(this_klass()) != vmSymbols::NO_SID) { 4049 if (Method::klass_id_for_intrinsics(this_klass()) != vmSymbols::NO_SID) {

mercurial