Skip to content

[GREENFOOT-287] Fields that are arrays of shorts cause an exception when object is inspected

In an actor in Greenfoot, create a field that is an array of short and initialise it in the constructor. Then make an instance of the actor, inspect it and you get a ClassCastException immediately while inspecting the actor (not even inspecting the array).


Issue metadata

  • Issue type: Bug
  • Priority: Medium
  • Fix versions: 2.0