Mercurial > hg > graal-jvmci-8
diff src/share/vm/classfile/classFileParser.cpp @ 18081:ccfff14361ea
Merge
author | asaha |
---|---|
date | Thu, 10 Jul 2014 16:01:11 -0700 |
parents | 4930a95e6ef5 9f169829d0e1 |
children | eaf39a954227 8cb56c8cb30d |
line wrap: on
line diff
--- a/src/share/vm/classfile/classFileParser.cpp Mon Jul 07 13:12:15 2014 -0700 +++ b/src/share/vm/classfile/classFileParser.cpp Thu Jul 10 16:01:11 2014 -0700 @@ -4037,6 +4037,11 @@ this_klass->set_major_version(major_version); this_klass->set_has_default_methods(has_default_methods); + if (!host_klass.is_null()) { + assert (this_klass->is_anonymous(), "should be the same"); + this_klass->set_host_klass(host_klass()); + } + // Set up Method*::intrinsic_id as soon as we know the names of methods. // (We used to do this lazily, but now we query it in Rewriter, // which is eagerly done for every method, so we might as well do it now,