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) { |