BootstrapperSBL commented on issue #16034: URL: https://github.com/apache/iceberg/issues/16034#issuecomment-4317622564
Happy to take this — the fix is narrow: wrap assignments in `List.copyOf()` (or switch to `ImmutableList`) so the published list itself is immutable. Since no other threads mutate the reference's contents, `copyOf` is lighter than `CopyOnWriteArrayList`. Any preference between the two? If not I'll go with `ImmutableList.copyOf()` since it's already used elsewhere in the module. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
