mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8039150: host_klass invariant fails when verifying newly loaded JSR-292 anonymous classes
Initialize host_klass while parsing the class with the other initializations. Reviewed-by: sspitsyn, stefank
This commit is contained in:
parent
02f3dbb898
commit
cef2b3be11
2 changed files with 5 additions and 1 deletions
|
@ -997,7 +997,6 @@ Klass* SystemDictionary::parse_stream(Symbol* class_name,
|
|||
|
||||
|
||||
if (host_klass.not_null() && k.not_null()) {
|
||||
k->set_host_klass(host_klass());
|
||||
// If it's anonymous, initialize it now, since nobody else will.
|
||||
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue