| Other |
|---|
| repo-valhallaFixed |
|
Relates :
|
|
|
Relates :
|
In the current prototype, in ciField.cpp:
static bool trust_final_non_static_fields(ciInstanceKlass* holder) {
:
// Trust VM hidden and unsafe anonymous classes. They are created via Lookup.defineClass or
// the private API (jdk.internal.misc.Unsafe) and can't be serialized, so there is no hacking
// of finals going on with them.
if (holder->is_hidden() || holder->is_unsafe_anonymous())
return true;
|