Changes to list instantiation

In 9.0, Guidewire made the following changes to the List type in Gosu:

  • The type List (with no package) is no longer a type alias for java.util.List. See Number, DateTime, Bean, List Types removed.
  • In new expressions, you cannot use the interface type List or java.util.List to instantiate a list as a shortcut to create an instance of java.util.ArrayList. If you get related compilation errors in new expressions, change your new expression to explicitly create an instance of ArrayList instead.