Setting a class field array via reflection

B/c the moment it reads the field Tmp::radii it is still null! :roll_eyes:
How about instantiating the array right way inside class Tmp? :bulb:

class Tmp {
  static final int RADII = 3;
  final float[] radii = new float[RADII];
}
1 Like