[
https://issues.apache.org/jira/browse/FREEMARKER-183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17816339#comment-17816339
]
Dániel Dékány commented on FREEMARKER-183:
------------------------------------------
Regarding caching: It was broken actually, so good point! Also I improved the
test to use caching for top-level variables, which brought out the issue too.
(As we run the same series of templates both for {{foo.bar}} first, and then
for {{foo["bar"]}} again, we already had the both orderings to bring out bad
cached values.)
Regarding {{Void}} return value, that's still property-like. For example, you
would expect {{foo.bar()!'NULL'}} work even if {{bar()}} happens to have Void
return value.
> Add support for Java records
> ----------------------------
>
> Key: FREEMARKER-183
> URL: https://issues.apache.org/jira/browse/FREEMARKER-183
> Project: Apache Freemarker
> Issue Type: Task
> Reporter: Dániel Dékány
> Assignee: Dániel Dékány
> Priority: Major
>
> Currently we don't support records (JEP 395), which was finalized in Java 16.
> Users can extend {{DefaultObjectWrapper}} for that of course, but it should
> be supported out of the box.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)