mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-17 16:39:29 +00:00
Prior to this commit, SpEL's InlineList was cached as a mutable list in compiled mode (i.e., in a static field in the generated byte code). To address that, this commit modifies InlineList's generateClinitCode() method so that it wraps both top-level and nested inline lists using Collections.unmodifiableList(), analogous to what we already do in createList(). Closes gh-37001