[Bug]: Dismissing the exception for unsupported operation.
ecabrerar opened this issue · 2 comments
ecabrerar commented
What happened?
In the following snippet:
Collection<String> numbers = List.of("one","two","three");
numbers.remove("two");
System.out.println(numbers);
An unsupported operation exception must be thrown.
OS
Linux
What browsers are you seeing the problem on?
Chrome
Contact Details (optional)
Additional information
Leave blank
delabassee commented
Thanks for reporting this. We will investigate this issue.
delabassee commented
Fixed in PG22
Variable declaration & initialization ⮕ [one, two, three]
Exception java.lang.UnsupportedOperationException