< prev index next >
src/hotspot/share/ci/ciField.cpp
Print this page
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 1999, 2018, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2019, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
@@ -100,10 +100,13 @@
_type = ciType::make(field_type);
}
_name = (ciSymbol*)ciEnv::current(THREAD)->get_symbol(name);
+ // this is needed if the field class is not yet loaded.
+ _is_flattenable = _signature->is_Q_signature();
+
// Get the field's declared holder.
//
// Note: we actually create a ciInstanceKlass for this klass,
// even though we may not need to.
int holder_index = cpool->klass_ref_index_at(index);
< prev index next >