This is an automated email from the ASF dual-hosted git repository.

ddekany pushed a change to branch 3
in repository https://gitbox.apache.org/repos/asf/freemarker.git.


    from d1dd791  Forward ported from 2.3-gae: [FREEMARKER-133] Fixed bug where 
FreeMarker sometimes tries to expose public methods that are defined or 
overridden in a non-public class, if the non-public class was then extended by 
a public class. Calling such method just ends up with IllegalAccessException, 
but they shouldn't be exposed on the first place, and furthermore can sometimes 
hide the callable version of the method.
     new b7f137b  DeepUnwrap couldn't unwrap TemplateNullModel.INSTANCE.
     new 18cfeb4  Forward ported from 2.3-gae: Added ?eval_json to evaluate 
JSON given as flat string. This was added as ?eval is routinely misused for the 
same purpose.

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../freemarker/core/EvalJsonBuiltInTest.java       |  12 +-
 .../org/apache/freemarker/core/JSONParserTest.java | 170 ++++++
 .../org/apache/freemarker/core/ASTExpBuiltIn.java  |   4 +-
 .../freemarker/core/BuiltInsForStringsMisc.java    |  38 +-
 .../org/apache/freemarker/core/JSONParser.java     | 616 +++++++++++++++++++++
 .../apache/freemarker/core/util/DeepUnwrap.java    |  25 +-
 6 files changed, 830 insertions(+), 35 deletions(-)
 copy 
freemarker-manual/src/test/java/org/apache/freemarker/manual/examples/AbsoluteTemplateNameBIExample.java
 => 
freemarker-core-test/src/test/java/org/apache/freemarker/core/EvalJsonBuiltInTest.java
 (74%)
 create mode 100644 
freemarker-core-test/src/test/java/org/apache/freemarker/core/JSONParserTest.java
 create mode 100644 
freemarker-core/src/main/java/org/apache/freemarker/core/JSONParser.java

Reply via email to