You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@freemarker.apache.org by dd...@apache.org on 2017/10/06 19:12:40 UTC

incubator-freemarker git commit: Manual: FREEMARKER-80 added to the version history

Repository: incubator-freemarker
Updated Branches:
  refs/heads/2.3-gae 7923f5cfd -> 5cee74f81


Manual: FREEMARKER-80 added to the version history


Project: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/commit/5cee74f8
Tree: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/tree/5cee74f8
Diff: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/diff/5cee74f8

Branch: refs/heads/2.3-gae
Commit: 5cee74f81bda188682f044809b84616a43b0646a
Parents: 7923f5c
Author: ddekany <dd...@apache.org>
Authored: Fri Oct 6 21:12:26 2017 +0200
Committer: ddekany <dd...@apache.org>
Committed: Fri Oct 6 21:12:26 2017 +0200

----------------------------------------------------------------------
 src/manual/en_US/book.xml | 12 ++++++++++++
 1 file changed, 12 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/5cee74f8/src/manual/en_US/book.xml
----------------------------------------------------------------------
diff --git a/src/manual/en_US/book.xml b/src/manual/en_US/book.xml
index 8efdf13..4573010 100644
--- a/src/manual/en_US/book.xml
+++ b/src/manual/en_US/book.xml
@@ -27306,6 +27306,18 @@ TemplateModel x = env.getVariable("x");  // get variable x</programlisting>
             </listitem>
 
             <listitem>
+              <para>Somewhat less synchronization when accessing JavaBean
+              properties (<link
+              xlink:href="https://issues.apache.org/jira/browse/FREEMARKER-80">FREEMARKER-80</link>).
+              The problem was that the
+              <literal>java.beans.PropertyDescriptor.getReadMethod</literal>
+              method is synchronized, and
+              <literal>freemarer.ext.beans.BeanModel</literal> has called it
+              each time a property was read. Now that method is only called
+              when the class is first introspected.</para>
+            </listitem>
+
+            <listitem>
               <para>Improved/fixed <literal>TemplateTransformModel</literal>
               behavior (this is a legacy interface that's not used much in
               user code):</para>