Mercurial > hg > truffle
diff src/share/vm/classfile/classFileParser.cpp @ 18027:9f169829d0e1
Merge
author | asaha |
---|---|
date | Tue, 08 Jul 2014 13:25:13 -0700 |
parents | f73af4455d7d ae92351815b6 |
children | 52b4284cb496 ccfff14361ea 72fa1e83e5f9 |
line wrap: on
line diff
--- a/src/share/vm/classfile/classFileParser.cpp Wed Jul 02 15:31:10 2014 -0700 +++ b/src/share/vm/classfile/classFileParser.cpp Tue Jul 08 13:25:13 2014 -0700 @@ -4038,6 +4038,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,