Why does this work:

String[] array = {"a", "b", "c"};
List<String> list = Arrays.asList(array);

but this does not:

List<String> list = Arrays.asList({"a","b","c"});
Edit
Report