java: represent arrays as UnmodifiableList
#722
Labels
effort/medium
Medium work item – a couple days of effort
feature-request
A feature should be added or improved.
language/java
Related to Java bindings
p0
🚀 Feature Request
Affected Languages
TypeScript
orJavascript
Python
Java
C#
,F#
, ...)Description
Since the JSII kernel currently doesn't support ways to propagate array mutations through the language border, and that the List API in Java is quite large, using immutable collections would be safer from Java's standpoint as it makes no unmet guarantees to the user.
The text was updated successfully, but these errors were encountered: