Mercurial > hg > truffle
diff src/share/vm/classfile/systemDictionary.cpp @ 17998:ae92351815b6
8039150: host_klass invariant fails when verifying newly loaded JSR-292 anonymous classes
Summary: Initialize host_klass while parsing the class with the other initializations.
Reviewed-by: sspitsyn, stefank
author | coleenp |
---|---|
date | Fri, 20 Jun 2014 10:48:36 -0400 |
parents | 78bbf4d43a14 |
children | 52b4284cb496 ce8f6bb717c9 01dcaba9b3f3 |
line wrap: on
line diff
--- a/src/share/vm/classfile/systemDictionary.cpp Fri Jun 20 12:39:56 2014 -0700 +++ b/src/share/vm/classfile/systemDictionary.cpp Fri Jun 20 10:48:36 2014 -0400 @@ -997,7 +997,6 @@ if (host_klass.not_null() && k.not_null()) { assert(EnableInvokeDynamic, ""); - k->set_host_klass(host_klass()); // If it's anonymous, initialize it now, since nobody else will. {