diff options
Diffstat (limited to 'agent/src/share/classes/sun/jvm/hotspot/oops/Field.java')
-rw-r--r-- | agent/src/share/classes/sun/jvm/hotspot/oops/Field.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/agent/src/share/classes/sun/jvm/hotspot/oops/Field.java b/agent/src/share/classes/sun/jvm/hotspot/oops/Field.java index 665315361..621c8cf4b 100644 --- a/agent/src/share/classes/sun/jvm/hotspot/oops/Field.java +++ b/agent/src/share/classes/sun/jvm/hotspot/oops/Field.java @@ -110,6 +110,8 @@ public class Field { public Symbol getSignature() { return signature; } public Symbol getGenericSignature() { return genericSignature; } + public boolean hasInitialValue() { return holder.getFieldInitialValueIndex(fieldIndex) != 0; } + // // Following acccessors are for named, non-VM fields only // |