src/java.base/share/classes/sun/reflect/FieldInfo.java

Print this page
rev 12972 : 8140606: Update library code to use internal Unsafe
Reviewed-by: duke

*** 36,46 **** // others before (or after) them without also modifying the VM's code. private String name; private String signature; private int modifiers; // This is compatible with the old reflection implementation's ! // "slot" value to allow sun.misc.Unsafe to work private int slot; // Not really necessary to provide a constructor since the VM // creates these directly FieldInfo() { --- 36,46 ---- // others before (or after) them without also modifying the VM's code. private String name; private String signature; private int modifiers; // This is compatible with the old reflection implementation's ! // "slot" value to allow jdk.internal.misc.Unsafe to work private int slot; // Not really necessary to provide a constructor since the VM // creates these directly FieldInfo() {