freemarker-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ddek...@apache.org
Subject incubator-freemarker git commit: Manual: FREEMARKER-80 added to the version history
Date Fri, 06 Oct 2017 19:12:40 GMT
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 <ddekany@apache.org>
Authored: Fri Oct 6 21:12:26 2017 +0200
Committer: ddekany <ddekany@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>


Mime
View raw message