[ 
https://issues.apache.org/jira/browse/FREEMARKER-183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17806850#comment-17806850
 ] 

Simon commented on FREEMARKER-183:
----------------------------------

It looks like you've thought about and dealt with the scenario, but it might be 
nice if the tests covered it:

When something is both a property and a method, 
{{BeanModel.invokeThroughDescriptor}} tries to make sure that the caching works 
for both.
Because your tests check the property call before the equivalent method call, 
it wouldn't detect if the method was cached and then the cached value wasn't 
able to be consumed when being invoked via the property case.

> 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)

Reply via email to