// "Apply conversion '.toArray(new java.lang.Integer[0])'" "true-preview" import java.util.*; class Initialize { Integer[] foo() { Collection c = Arrays.asList(1, 2); Integer[] arr = c; return arr; } }